private static Byte[] _LoadImageUnchecked(AssetReader externalReferenceSolver, string uri) { return(uri._TryParseBase64Unchecked(EMBEDDEDGLTFBUFFER) ?? uri._TryParseBase64Unchecked(EMBEDDEDOCTETSTREAM) ?? uri._TryParseBase64Unchecked(EMBEDDEDJPEGBUFFER) ?? uri._TryParseBase64Unchecked(EMBEDDEDPNGBUFFER) ?? externalReferenceSolver.Invoke(uri).ToArray()); }
private static Byte[] _LoadBinaryBufferUnchecked(string uri, AssetReader satelliteReferenceSolver) { return(uri._TryParseBase64Unchecked(EMBEDDEDGLTFBUFFER) ?? uri._TryParseBase64Unchecked(EMBEDDEDOCTETSTREAM) ?? satelliteReferenceSolver.Invoke(uri).ToArray()); }
private static Byte[] _LoadBinaryBufferUnchecked(string uri, AssetReader externalReferenceSolver) { return(uri._TryParseBase64Unchecked(EMBEDDEDGLTFBUFFER) ?? uri._TryParseBase64Unchecked(EMBEDDEDOCTETSTREAM) ?? externalReferenceSolver?.Invoke(uri)); }