mirror of
https://github.com/trussed-dev/flexiber.git
synced 2026-06-20 04:16:10 -07:00
Prepare first release
This commit is contained in:
+1
-1
@@ -77,7 +77,7 @@ pub trait Encodable {
|
||||
fn encode_to_slice<'a>(&self, buf: &'a mut [u8]) -> Result<&'a [u8]> {
|
||||
let mut encoder = Encoder::new(buf);
|
||||
self.encode(&mut encoder)?;
|
||||
Ok(encoder.finish()?)
|
||||
encoder.finish()
|
||||
}
|
||||
|
||||
/// Encode this message as BER-TLV, appending it to the provided
|
||||
|
||||
Reference in New Issue
Block a user