diff --git a/pilota/src/thrift/binary_unsafe.rs b/pilota/src/thrift/binary_unsafe.rs index f566657e..87b5d87b 100644 --- a/pilota/src/thrift/binary_unsafe.rs +++ b/pilota/src/thrift/binary_unsafe.rs @@ -758,6 +758,7 @@ impl<'a> TBinaryUnsafeInputProtocol<'a> { #[doc(hidden)] fn advance(&mut self, len: usize) { self.trans.advance(len); + self.buf.advance(len); self.index -= len; } }