@FunctionalInterface
public static interface SubRecord.SubRecordTypes.RecordConstructor<T extends SubRecord>
Modifier and Type | Method and Description |
---|---|
T |
apply(LittleEndianInput in,
int size,
int cmoOt)
read a sub-record from the supplied stream
|
T apply(LittleEndianInput in, int size, int cmoOt)
in
- the stream to read fromcmoOt
- the objectType field of the containing CommonObjectDataSubRecord,
we need it to propagate to next sub-records as it defines what data followsCopyright 2021 The Apache Software Foundation or its licensors, as applicable.