Added bit-string extraction from byte buffer