Class BitUtilities

java.lang.Object
net.tangly.commons.utilities.BitUtilities

public final class BitUtilities extends Object

The bit utility class provides utility functions to manipulate bit streams as used on older communication protocols. The functions manipulate byte (8 bits), short (16 bits) and long (32 bits) bit streams and append them into the bit stream at location. Mirror functions support the extraction of bits from a bit stream.

Any legacy bit oriented communication protocols can efficiently be handled with the provided functions.