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

System.Reflection.BlobUtilities

static class BlobUtilities
namespace System.Reflection { internal static class BlobUtilities { public const int SizeOfSerializedDecimal = 13; public const int SizeOfGuid = 16; public static void WriteBytes(this byte[] buffer, int start, byte value, int count); public static void WriteDouble(this byte[] buffer, int start, double value); public static void WriteSingle(this byte[] buffer, int start, float value); public static void WriteByte(this byte[] buffer, int start, byte value); public static void WriteUInt16(this byte[] buffer, int start, ushort value); public static void WriteUInt16BE(this byte[] buffer, int start, ushort value); public static void WriteUInt32BE(this byte[] buffer, int start, uint value); public static void WriteUInt32(this byte[] buffer, int start, uint value); public static void WriteUInt64(this byte[] buffer, int start, ulong value); public static void WriteDecimal(this byte[] buffer, int start, decimal value); public static void WriteGuid(this byte[] buffer, int start, Guid value); public unsafe static void WriteUTF8(this byte[] buffer, int start, char* charPtr, int charCount, int byteCount, bool allowUnpairedSurrogates); } }