Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/fory
/ ByteReader
Method
ByteReader
csharp/src/Fory/ByteBuffer.cs:439–444 ·
view source on GitHub ↗
(ReadOnlySpan<byte> data)
Source
from the content-addressed store, hash-verified
437
private int _cursor;
438
439
public ByteReader(ReadOnlySpan<byte> data)
440
{
441
_storage = data.ToArray();
442
_length = _storage.Length;
443
_cursor = 0;
444
}
445
446
public ByteReader(byte[] bytes)
447
{
Callers
nothing calls this directly
Calls
1
ToArray
Method · 0.80
Tested by
no test coverage detected