public StringTable(ComponentReader reader) { // todo: optimize! endOffsets = reader.ReadList((r) => (int)r.ReadUint()); utf8Bytes = reader.ReadBytes(endOffsets.LastOrDefault()); reader.StringTable = this; }
public MetadataPayload(ComponentReader reader, int count) { opaquePayload = reader.ReadBytes(count); }