Fix #104, need to advance buffer index to account for the null (one 32-bit length val of -1)

This commit is contained in:
Ryan Leckey
2020-02-01 00:33:59 -08:00
parent eff7c9e125
commit 7201f637bf
2 changed files with 33 additions and 0 deletions

View File

@@ -36,6 +36,8 @@ impl Decode for DataRow {
if size == -1 {
values.push(None);
index += 4;
} else {
values.push(Some((index)..(index + (size as u32))));