summaryrefslogtreecommitdiff
path: root/src/binary
diff options
context:
space:
mode:
authorLibravatar Silas Bartha <silas@exvacuum.dev>2024-11-21 12:41:32 -0500
committerLibravatar Silas Bartha <silas@exvacuum.dev>2024-11-21 12:41:32 -0500
commitf0022c8d570d06d9c8d0c2dd68d931cb917cbef2 (patch)
treecb7f3a5e27f7c7157b8b8462ae81fca088512105 /src/binary
parent6c94102afc70ce28eee3d17aad997a056aaf9195 (diff)
Thu Nov 21 12:41:32 PM EST 2024
Diffstat (limited to 'src/binary')
-rw-r--r--src/binary/reverse_appendix.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/binary/reverse_appendix.rs b/src/binary/reverse_appendix.rs
index d131526..592e623 100644
--- a/src/binary/reverse_appendix.rs
+++ b/src/binary/reverse_appendix.rs
@@ -3,6 +3,7 @@ use crate::{Codec, Error};
/// Reverses payload binary data and writes it ass-first past the end of the original data. A
/// length marker is also prepended to the payload *before reversing* so the decoder knows how long
/// the payload is.
+#[derive(Clone, Debug)]
pub struct BinaryReverseAppendixCodec;
impl Codec for BinaryReverseAppendixCodec {