We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
InOutBufReserved::get_out_len
1 parent 9d92d5e commit a984ec9Copy full SHA for a984ec9
inout/src/reserved.rs
@@ -91,7 +91,7 @@ impl<T> InOutBufReserved<'_, '_, T> {
91
/// Get output buffer length.
92
#[inline(always)]
93
pub fn get_out_len(&self) -> usize {
94
- self.in_len
+ self.out_len
95
}
96
97
/// Split buffer into `InOutBuf` with input length and mutable slice pointing to
0 commit comments