Class BitBuilder

java.lang.Object
org.bouncycastle.oer.BitBuilder

public class BitBuilder extends Object
  • Constructor Details

    • BitBuilder

      public BitBuilder()
  • Method Details

    • writeBit

      public BitBuilder writeBit(int bit)
      write a bit
      Parameters:
      bit - where 0 = 0 bit and not zero is 1 bit.
      Returns:
    • writeBits

      public BitBuilder writeBits(long value, int start)
    • writeBits

      public BitBuilder writeBits(long value, int start, int len)
    • write

      public int write(OutputStream outputStream) throws IOException
      Throws:
      IOException
    • writeAndClear

      public int writeAndClear(OutputStream outputStream) throws IOException
      Throws:
      IOException
    • pad

      public void pad()
    • write7BitBytes

      public void write7BitBytes(int value)
    • write7BitBytes

      public void write7BitBytes(BigInteger value)
    • zero

      public void zero()