Searched refs:ReadOnlySpan (Results 1 – 2 of 2) sorted by relevance
59 public abstract ReadOnlySpan<byte> ReadOnlySpan { get; } property in FlatBuffers.ByteBufferAllocator107 public override ReadOnlySpan<byte> ReadOnlySpan => _buffer; field in FlatBuffers.ByteArrayAllocator241 … return MemoryMarshal.Cast<byte, T>(_buffer.ReadOnlySpan.Slice(pos)).Slice(0, len).ToArray();608 return (sbyte)_buffer.ReadOnlySpan[index]; in GetSbyte()614 return _buffer.ReadOnlySpan[index]; in Get()633 fixed (byte* buffer = &MemoryMarshal.GetReference(_buffer.ReadOnlySpan.Slice(startPos))) in GetStringUTF8()656 ReadOnlySpan<byte> span = _buffer.ReadOnlySpan.Slice(offset); in GetUshort()677 ReadOnlySpan<byte> span = _buffer.ReadOnlySpan.Slice(offset); in GetUint()698 ReadOnlySpan<byte> span = _buffer.ReadOnlySpan.Slice(offset); in GetUlong()714 fixed (byte* ptr = &MemoryMarshal.GetReference(_buffer.ReadOnlySpan)) in GetFloat()[all …]
118 public ReadOnlySpan<byte> Span => new ReadOnlySpan<byte>(bytes);227 public static ByteString CopyFrom(ReadOnlySpan<byte> bytes) in CopyFrom()