MCPcopy Create free account
hub / github.com/apache/poi / readHeader

Method readHeader

src/java/org/apache/poi/ddf/EscherRecord.java:75–80  ·  view source on GitHub ↗

Reads the 8 byte header information and populates the options and recordId records. @param data the byte array to read from @param offset the offset to start reading from @return the number of bytes remaining in this record. This may incl

( byte[] data, int offset )

Source from the content-addressed store, hash-verified

73 * may include the children if this is a container.
74 */
75 protected int readHeader( byte[] data, int offset ) {
76 EscherRecordHeader header = EscherRecordHeader.readHeader(data, offset);
77 _options = header.getOptions();
78 _recordId = header.getRecordId();
79 return header.getRemainingBytes();
80 }
81
82 /**
83 * Determine whether this is a container record by inspecting the option

Callers 15

fillFieldsMethod · 0.45
createRecordMethod · 0.45
fillFieldsMethod · 0.45
fillFieldsMethod · 0.45
fillFieldsMethod · 0.45
fillFieldsMethod · 0.45
fillFieldsMethod · 0.45
fillFieldsMethod · 0.45
fillFieldsMethod · 0.45
fillFieldsMethod · 0.45
fillFieldsMethod · 0.45
fillFieldsMethod · 0.45

Calls 4

readHeaderMethod · 0.95
getOptionsMethod · 0.95
getRecordIdMethod · 0.95
getRemainingBytesMethod · 0.95

Tested by

no test coverage detected