Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/fory
/ Serialize
Method
Serialize
benchmarks/csharp/BenchmarkSerializers.cs:56–59 ·
view source on GitHub ↗
(TWrite value)
Source
from the content-addressed store, hash-verified
54
public string Name =>
"fory"
;
55
56
public byte[] Serialize(TWrite value)
57
{
58
return _writer.Serialize(value);
59
}
60
61
public object? Deserialize(byte[] payload)
62
{
Callers
11
BenchmarkFory_NumericStruct_Deserialize
Function · 0.45
BenchmarkFory_NumericStructList_Deserialize
Function · 0.45
BenchmarkFory_Sample_Deserialize
Function · 0.45
BenchmarkFory_SampleList_Deserialize
Function · 0.45
BenchmarkFory_MediaContent_Deserialize
Function · 0.45
BenchmarkFory_MediaContentList_Deserialize
Function · 0.45
TestPrintSerializedSizes
Function · 0.45
Main
Method · 0.45
AddCases
Method · 0.45
Serialize
Method · 0.45
Serialize
Method · 0.45
Calls
no outgoing calls
Tested by
7
BenchmarkFory_NumericStruct_Deserialize
Function · 0.36
BenchmarkFory_NumericStructList_Deserialize
Function · 0.36
BenchmarkFory_Sample_Deserialize
Function · 0.36
BenchmarkFory_SampleList_Deserialize
Function · 0.36
BenchmarkFory_MediaContent_Deserialize
Function · 0.36
BenchmarkFory_MediaContentList_Deserialize
Function · 0.36
TestPrintSerializedSizes
Function · 0.36