ByteArrayOutputStream, but uses a different strategy for growing that does not involve copying.readBoolean
method of DataInput.readByte
method of DataInput.readFully
method of DataInput.readFully
method of DataInput.readUnsignedByte
method of DataInput.skipBytes
method of DataInput.CapacityByteArrayOutputStream.initialSlabSizeHeuristic(int, int, int), with targetCapacity == maxCapacityHintb) to the underlying output stream.len bytes from the specified byte array
starting at offset off to the underlying output stream.boolean to the underlying output stream as
a 1-byte value.byte to the underlying output stream as
a 1-byte value.long using the
doubleToLongBits method in class Double,
and then writes that long value to the underlying
output stream as an 8-byte quantity, low byte first.int using the
floatToIntBits method in class Float,
and then writes that int value to the underlying
output stream as a 4-byte quantity, low byte first.int to the underlying output stream as four
bytes, low byte first.long to the underlying output stream as eight
bytes, low byte first.short to the underlying output stream as two
bytes, low byte first.Copyright © 2015 The Apache Software Foundation. All Rights Reserved.