Class BinaryWriter
java.lang.Object
com.inductiveautomation.ignition.common.xmlserialization.serialization.BinaryWriter
- All Implemented Interfaces:
SerializationWriter
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final byte
static final byte
static final byte
static final byte
static final byte
static final UUID
16 bytes that serve as the identifier of a binary encoded serialized object graph.static final byte
static final int
Version number for the binary serialization. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
writeElement
(XMLSerializationContext context, Element baseElement) Called once with the base element of the XML tree to write it to the underlying stream.
-
Field Details
-
MAGIC_NUMBER
16 bytes that serve as the identifier of a binary encoded serialized object graph. -
VERSION
public static final int VERSIONVersion number for the binary serialization. Version history:Version 1: initial. Version 2: String table changed to accommodate strings over 65k.
- See Also:
-
REF_ELM_FLG
public static final byte REF_ELM_FLG- See Also:
-
HAS_SUBNAME_FLG
public static final byte HAS_SUBNAME_FLG- See Also:
-
HAS_REF_FLG
public static final byte HAS_REF_FLG- See Also:
-
HAS_ATTRIB_FLG
public static final byte HAS_ATTRIB_FLG- See Also:
-
HAS_CHILDREN_FLG
public static final byte HAS_CHILDREN_FLG- See Also:
-
HAS_BODY_FLG
public static final byte HAS_BODY_FLG- See Also:
-
-
Constructor Details
-
BinaryWriter
-
-
Method Details
-
writeElement
Description copied from interface:SerializationWriter
Called once with the base element of the XML tree to write it to the underlying stream.- Specified by:
writeElement
in interfaceSerializationWriter
- Throws:
IOException
-