Creates an instance of the FixableBeetStruct.
Deserializes an instance of the Class from the provided buffer starting to read at the provided offset.
[instance of Class, offset into buffer after deserialization completed]
Serializes the provided instance into a new {@link Buffer}
NOTE: that the instance
is traversed and each of its fields accessed
twice, once to derive a fixed size BeetStruct and then use it to
serialize the instance
.
Therefore ensure that none of the properties that are part of the struct
have side effects, i.e. via Getter
s.
of the struct to serialize
allows to override the size fo the created Buffer and defaults to the size of the struct to serialize
Generated using TypeDoc
Convenience wrapper around FixableBeetStruct which is used for plain JavasScript objects, like are used for option args passed to functions.