Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/fory
/ ToArray
Method
ToArray
csharp/src/Fory/ByteBuffer.cs:391–396 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
389
}
390
391
public byte[] ToArray()
392
{
393
byte[] result = new byte[_count];
394
Array.Copy(_storage, 0, result, 0, _count);
395
return result;
396
}
397
398
public void Reset()
399
{
Callers
15
ReadData
Method · 0.80
WriteData
Method · 0.80
WriteData
Method · 0.80
Serialize
Method · 0.80
Deserialize
Method · 0.80
WriteData
Method · 0.80
Encode
Method · 0.80
EncodeBody
Method · 0.80
SnapshotPairs
Method · 0.80
ByteReader
Method · 0.80
Reset
Method · 0.80
AdditionalCollectionsRoundTrip
Method · 0.80
Calls
no outgoing calls
Tested by
15
AdditionalCollectionsRoundTrip
Method · 0.64
GeneratedSerializerSupportsAdditionalCollectionFields
Method · 0.64
RejectsNestedListArrayPairs
Method · 0.64
AllowsNestedScalarNullableChanges
Method · 0.64
RestrictsByteSequenceCompatibility
Method · 0.64
RejectsFramedListArrayPairs
Method · 0.64
CompatibleScalarTrackingRefRules
Method · 0.64
Union2UsesZeroBasedWireCaseIds
Method · 0.64
DynamicObjectSupportsExtendedCollectionContainers
Method · 0.64
WriteAndReadString
Method · 0.64
StringSerializerRejectsOddUtf16Payload
Method · 0.64
StringSerializerRejectsUnknownEncoding
Method · 0.64