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 Type
    Method
    Description
    void
    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

      void readStructure() throws IOException
      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