Package org.apache.poi.util
Interface DelayableLittleEndianOutput
- All Superinterfaces:
LittleEndianOutput
- All Known Implementing Classes:
LittleEndianByteArrayOutputStream
Implementors of this interface allow client code to 'delay' writing to a certain section of a
data output stream.
A typical application is for writing BIFF records when the size is not known until well after the header has been written. The client code can call
A typical application is for writing BIFF records when the size is not known until well after the header has been written. The client code can call
createDelayedOutput(int)
to reserve two bytes of the output for the 'ushort size' header field. The delayed output can
be written at any stage.- Author:
- Josh Micich
-
Method Summary
Modifier and TypeMethodDescriptioncreateDelayedOutput
(int size) Creates an output stream intended for outputting a sequence of size bytes.Methods inherited from interface org.apache.poi.util.LittleEndianOutput
write, write, writeByte, writeDouble, writeInt, writeLong, writeShort
-
Method Details
-
createDelayedOutput
Creates an output stream intended for outputting a sequence of size bytes.
-