terminate(), at which point this
class updates the 'ushort size' with its final value.
| Modifier and Type | Field and Description |
|---|---|
| private final byte[] | |
| private final LittleEndianOutput | _dataSizeOutput
for writing the 'ushort size' field once its value is known |
| private final LittleEndianOutput | |
| private LittleEndianOutput | |
| private int | |
| private static final int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public int | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void |
| _byteBuffer | back to summary |
|---|---|
| private final byte[] _byteBuffer | |
| _dataSizeOutput | back to summary |
|---|---|
| private final LittleEndianOutput _dataSizeOutput for writing the 'ushort size' field once its value is known | |
| _originalOut | back to summary |
|---|---|
| private final LittleEndianOutput _originalOut | |
| _out | back to summary |
|---|---|
| private LittleEndianOutput _out | |
| _size | back to summary |
|---|---|
| private int _size | |
| MAX_DATA_SIZE | back to summary |
|---|---|
| private static final int MAX_DATA_SIZE | |
| UnknownLengthRecordOutput | back to summary |
|---|---|
| public UnknownLengthRecordOutput(LittleEndianOutput out, int sid) | |
| getAvailableSpace | back to summary |
|---|---|
| public int getAvailableSpace() | |
| getTotalSize | back to summary |
|---|---|
| public int getTotalSize() includes 4 byte header | |
| terminate | back to summary |
|---|---|
| public void terminate() Finishes writing the current record and updates 'ushort size' field. | |
| write | back to summary |
|---|---|
| public void write(byte[] b) Implements org. | |
| write | back to summary |
|---|---|
| public void write(byte[] b, int offset, int len) Implements org. | |
| writeByte | back to summary |
|---|---|
| public void writeByte(int v) Implements org. | |
| writeDouble | back to summary |
|---|---|
| public void writeDouble(double v) Implements org. | |
| writeInt | back to summary |
|---|---|
| public void writeInt(int v) Implements org. | |
| writeLong | back to summary |
|---|---|
| public void writeLong(long v) Implements org. | |
| writeShort | back to summary |
|---|---|
| public void writeShort(int v) Implements org. | |