Represents an item whose parsing format is defined in JSON, whose value corresponds to a series of data in a Hermes bytecode file.
More...
Represents an item whose parsing format is defined in JSON, whose value corresponds to a series of data in a Hermes bytecode file.
◆ Decode< T >()
static T Hasmer.HbcEncodedItem.Decode< T > |
( |
HbcReader |
reader, |
|
|
JObject |
obj |
|
) |
| |
|
inlinestatic |
Reads a complex value from a stream given its definition.
- Type Constraints
-
T | : | HbcEncodedItem | |
T | : | new() | |
◆ Encode< T >()
static void Hasmer.HbcEncodedItem.Encode< T > |
( |
HbcWriter |
writer, |
|
|
JObject |
obj, |
|
|
T |
item |
|
) |
| |
|
inlinestatic |
Encodes a complex value to a stream given its definition.
◆ ReadFromDefinition()
static object Hasmer.HbcEncodedItem.ReadFromDefinition |
( |
HbcReader |
reader, |
|
|
JToken |
def |
|
) |
| |
|
inlinestatic |
Reads a simple value given its definition.
◆ WriteFromDefinition()
static void Hasmer.HbcEncodedItem.WriteFromDefinition |
( |
HbcWriter |
writer, |
|
|
JToken |
def, |
|
|
object |
value |
|
) |
| |
|
inlinestatic |
Writes a complex value given the definition and corresponding object.
The documentation for this class was generated from the following file:
- libhasmer/Common/HbcEncodedItem.cs