BitOutputStream

BitOutputStream

Overview

BitOutputStream is a class in Aspose.Pdf FOSS for Java.

Writes bits to a byte array, MSB first, crossing byte boundaries.

Methods

SignatureDescription
writeBits(value: int, numBits: int)Writes {@code numBits} bits from the low-order bits of {@code value}.
alignToByte()Advances to the next byte boundary.
toByteArray()byte[]Returns a copy of the written bytes.

See Also