Package PamUtils
Class Ascii6Bit
java.lang.Object
PamUtils.Ascii6Bit
Utilities for converting data to and from an Ascii 6 bit format.
- Author:
- Doug
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getBit
(int bit) int
getBits
(int b1, int b2) byte[]
char
getChar
(int b1, int b2) int
void
setBit
(int bit, boolean set) void
setByteData
(byte[] byteData) void
setStringData
(String stringData)
-
Constructor Details
-
Ascii6Bit
public Ascii6Bit(byte[] byteData) -
Ascii6Bit
-
-
Method Details
-
getStringData
-
setStringData
-
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)
-