@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 from
(in - 要读取的流)
cmoOt
- the objectType field of the containing CommonObjectDataSubRecord, we need it to propagate to next sub-records as it defines what data follows
(cmoOt - 包含 CommonObjectDataSubRecord 的 objectType 字段,我们需要它传播到下一个子记录,因为它定义了后面的数据)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.