<PackageReference Include="Google.Protobuf" Version="3.35.1" />

Google.Protobuf.UnsafeByteOperations

public static class UnsafeByteOperations
Provides a number of unsafe byte operations to be used by advanced applications with high performance requirements. These methods are referred to as "unsafe" due to the fact that they potentially expose the backing buffer of a ByteString to the application.
namespace Google.Protobuf { public static class UnsafeByteOperations { public static ByteString UnsafeWrap(ReadOnlyMemory<byte> bytes); } }