Searched refs:ReadOnlyMemory (Results 1 – 10 of 10) sorted by relevance
58 private readonly ReadOnlyMemory<byte> bytes;63 internal static ByteString AttachBytes(ReadOnlyMemory<byte> bytes) in AttachBytes()82 private ByteString(ReadOnlyMemory<byte> bytes) in ByteString()124 public ReadOnlyMemory<byte> Memory
76 public static ByteString UnsafeWrap(ReadOnlyMemory<byte> bytes) in UnsafeWrap()
62 public abstract ReadOnlyMemory<byte> ReadOnlyMemory { get; } property in Google.FlatBuffers.ByteBufferAllocator110 public override ReadOnlyMemory<byte> ReadOnlyMemory => _buffer; field in Google.FlatBuffers.ByteArrayAllocator278 public ReadOnlyMemory<byte> ToReadOnlyMemory(int pos, int len) in ToReadOnlyMemory()280 return _buffer.ReadOnlyMemory.Slice(pos, len); in ToReadOnlyMemory()
88 public ReadOnlyMemory<T> WrittenMemory => _buffer.AsMemory(0, _index);