get bit string value with length bits
length
String getBits(int length) { var value = _bitData.substring(_index, _index + length); _index = _index + length; return value; }