<PackageReference Include="Microsoft.Packaging.Tools" Version="1.0.0-preview2-25401-01" />

System.Reflection.Internal.EncodingHelper

static class EncodingHelper
namespace System.Reflection.Internal { internal static class EncodingHelper { internal unsafe delegate string Encoding_GetString (Encoding encoding, byte* bytes, int byteCount); private unsafe delegate string String_CreateStringFromEncoding (byte* bytes, int byteCount, Encoding encoding); public const int PooledBufferSize = 200; public unsafe static string DecodeUtf8(byte* bytes, int byteCount, byte[] prefix, MetadataStringDecoder utf8Decoder); public unsafe static string GetString(this Encoding encoding, byte* bytes, int byteCount); } }