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

Method Fory

csharp/src/Fory/Fory.cs:34–48  ·  view source on GitHub ↗
(Config config)

Source from the content-addressed store, hash-verified

32 private ReadContext _readContext;
33
34 internal Fory(Config config)
35 {
36 Config = config;
37 _typeResolver = new TypeResolver();
38 _writeContext = new WriteContext(
39 new ByteWriter(),
40 _typeResolver,
41 Config.TrackRef,
42 Config.Compatible,
43 Config.CheckStructVersion);
44 _readContext = new ReadContext(
45 new ByteReader(Array.Empty<byte>()),
46 _typeResolver,
47 Config);
48 }
49
50 /// <summary>
51 /// Gets the immutable runtime configuration.

Calls

no outgoing calls