getBits method

String getBits(
  1. int length
)

get bit string value with length bits

Implementation

String getBits(int length) {
  var value = convertByteToBit(length);
  _index = _index + length;
  return value;
}