pnm decoding and encoding
Diffstat (limited to 'src/pam.rs')
| -rw-r--r-- | src/pam.rs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -147,10 +147,10 @@ unsafe fn encode_into<const N: usize>( for &x in buf { o.push(x ^ 1) } - o.sub_ptr(out) + o.offset_from_unsigned(out) } else { o.copy_from(buf.as_ptr(), buf.len()); - o.sub_ptr(out) + buf.len() + o.offset_from_unsigned(out) + buf.len() } } |