Class BinaryWriter
java.lang.Object
com.inductiveautomation.ignition.common.xmlserialization.serialization.BinaryWriter
- All Implemented Interfaces:
- SerializationWriter
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final UUID16 bytes that serve as the identifier of a binary encoded serialized object graph.static final bytestatic final intVersion number for the binary serialization.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidwriteElement(XMLSerializationContext context, Element baseElement) Called once with the base element of the XML tree to write it to the underlying stream.
- 
Field Details- 
MAGIC_NUMBER16 bytes that serve as the identifier of a binary encoded serialized object graph.
- 
VERSIONpublic 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_FLGpublic static final byte REF_ELM_FLG- See Also:
 
- 
HAS_SUBNAME_FLGpublic static final byte HAS_SUBNAME_FLG- See Also:
 
- 
HAS_REF_FLGpublic static final byte HAS_REF_FLG- See Also:
 
- 
HAS_ATTRIB_FLGpublic static final byte HAS_ATTRIB_FLG- See Also:
 
- 
HAS_CHILDREN_FLGpublic static final byte HAS_CHILDREN_FLG- See Also:
 
- 
HAS_BODY_FLGpublic static final byte HAS_BODY_FLG- See Also:
 
 
- 
- 
Constructor Details- 
BinaryWriter
 
- 
- 
Method Details- 
writeElementDescription copied from interface:SerializationWriterCalled once with the base element of the XML tree to write it to the underlying stream.- Specified by:
- writeElementin interface- SerializationWriter
- Throws:
- IOException
 
 
-