Package PamUtils

Class Ascii6Bit

java.lang.Object
PamUtils.Ascii6Bit

public class Ascii6Bit extends Object
Utilities for converting data to and from an Ascii 6 bit format.
Author:
Doug
  • Constructor Details

    • Ascii6Bit

      public Ascii6Bit(byte[] byteData)
    • Ascii6Bit

      public Ascii6Bit(String stringData, int spareBits)
  • Method Details

    • getStringData

      public String getStringData()
    • setStringData

      public void setStringData(String stringData)
    • getSpareBits

      public int getSpareBits()
    • getBit

      public boolean getBit(int bit)
    • setBit

      public void setBit(int bit, boolean set)
    • getBits

      public int getBits(int b1, int b2)
    • getChar

      public char getChar(int b1, int b2)
    • getByteData

      public byte[] getByteData()
    • setByteData

      public void setByteData(byte[] byteData)