Home
last modified time | relevance | path

Searched refs:ReadOnlySpan (Results 1 – 1 of 1) sorted by relevance

/external/flatbuffers/net/FlatBuffers/
DByteBuffer.cs59 public abstract ReadOnlySpan<byte> ReadOnlySpan { get; } property in FlatBuffers.ByteBufferAllocator
107 public override ReadOnlySpan<byte> ReadOnlySpan => _buffer; field in FlatBuffers.ByteArrayAllocator
241 … 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 …]