We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10106fc commit 7a8f0f8Copy full SHA for 7a8f0f8
src/structure/logarray.rs
@@ -223,7 +223,7 @@ impl Iterator for LogArrayIterator {
223
224
const MAX_LOGARRAY_LEN: u64 = (1 << 56) - 1;
225
226
-fn parse_control_word(buf: &[u8]) -> (u64, u8) {
+pub fn parse_control_word(buf: &[u8]) -> (u64, u8) {
227
let len_1 = BigEndian::read_u32(buf) as u64;
228
let width = buf[4];
229
let len_2 = (BigEndian::read_u32(&buf[4..]) & 0xFFFFFF) as u64; // ignore width byte
0 commit comments