This error condition should use ParseError::BufferTooShort instead of ParseError::More. The ParseError::More variant expects different parameters and semantics for incomplete data scenarios.
return Err(ParseError::BufferTooShort(
vsn_offset + 1 - self.buffer.len(),
));
}
}
Originally posted by @Copilot in #26 (comment)