Interface StructureReader<T>
- Type Parameters:
T
- structure mapped type
- All Known Implementing Classes:
GoName
,GoPlainType
,GoVarlenString
public interface StructureReader<T>
Interface used by structure mapped classes that need to manually deserialize themselves from
the raw data, required when the structure contains variable length fields.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Called after an instance has been created and its context has been initialized, to give the struct a chance to deserialize itself using the BinaryReaders and such found in the context information.
-
Method Details
-
readStructure
Called after an instance has been created and its context has been initialized, to give the struct a chance to deserialize itself using the BinaryReaders and such found in the context information.- Throws:
IOException
- if error deserializing data for this struct
-