getBits method

String getBits(
  1. int length
)

get bit string value with length bits

Implementation

String getBits(int length) {
  var value = _bitData.substring(_index, _index + length);
  _index = _index + length;
  return value;
}