Bit Stream
Constructors
Constructs stream from StreamInput
Constructs stream from StreamOutput
Functions
Writes bit as += operation.
Writes Byte into the stream.
Writes ByteArray into the stream.
Writes Double into the stream using defaultByteOrder.
Writes Float into the stream using defaultByteOrder.
Writes Int into the stream using defaultByteOrder.
Writes Long into the stream using defaultByteOrder.
Writes Short into the stream using defaultByteOrder.
Writes String into the stream using defaultStringEncoding and defaultByteOrder.
Writes UInt into the stream using defaultByteOrder.
Writes ULong into the stream using defaultByteOrder.
Writes UShort into the stream using defaultByteOrder.
Reads unsigned Byte from the stream.
Read integer value from the stream as BigInteger with specified bytes count and byteOrder. If signed is true
the last bit interprets as a sign.
Calls the block callback giving it a sequence of all the lines in the stream and closes it once the processing is complete.
Writes one bit to the stream.
Writes arbitrary number of bits from the BigInteger. The bits are written in natural order that means BigEndian byte order for integers which have more than one byte.
Writes BOM character into the stream for non-ASCII encoding.
Writes string into the stream.
Properties
Contains available bytes for read/write and the negative value if available bytes is not available at moment. Also, this property take into account limit value if it has non-negative value and isSupportLimit is true.
Indicates that stream has fixed size.
Indicates that position of the stream can be changed.
The limit position of the stream for read and write. If someone try to read or write out of this bound (position >= limit) the LimitOutOfBoundsException should be thrown.