diff --git a/simplebgc/src/payload.rs b/simplebgc/src/payload.rs index 41589a3..59966cb 100644 --- a/simplebgc/src/payload.rs +++ b/simplebgc/src/payload.rs @@ -74,7 +74,7 @@ impl Payload for i16 { where Self: Sized, { - Ok(b.get_i16()) + Ok(b.get_i16_le()) } fn to_bytes(&self) -> Bytes