getBit method

int getBit(
  1. int position
)

Implementation

int getBit(int position) {
  if (position < _byteBuffer.length) {
    seek(position);
    return readUnsignedByte();
  } else {
    return 0;
  }
}