ImportData imports a package from the serialized package data and returns the number of bytes consumed and a reference to the package. If data is obviously malformed, an error is returned but in general it is not recommended to call ImportData on untrusted data.

ImportData is referenced in 1 repository