MCPcopy Create free account
hub / github.com/apache/fory / ReadBytes

Method ReadBytes

csharp/src/Fory/ByteBuffer.cs:695–702  ·  view source on GitHub ↗
(int count)

Source from the content-addressed store, hash-verified

693 }
694
695 public byte[] ReadBytes(int count)
696 {
697 CheckBound(count);
698 byte[] result = new byte[count];
699 Array.Copy(_storage, _cursor, result, 0, count);
700 _cursor += count;
701 return result;
702 }
703
704 public ReadOnlySpan<byte> ReadSpan(int count)
705 {

Callers 10

ReadMethod · 0.45
ReadDataMethod · 0.45
ReadMethod · 0.45
DecodeMethod · 0.45
ReadNameMethod · 0.45
ReadBinaryMethod · 0.45
ReadMetaStringMethod · 0.45
CaseBufferMethod · 0.45

Calls

no outgoing calls