MCPcopy Create free account
hub / github.com/Slowerzs/PPLSystem / EncodeBE

Interface EncodeBE

endian_codec/src/lib.rs:103–110  ·  view source on GitHub ↗

Encoded as big-endian bytes.

Source from the content-addressed store, hash-verified

101
102/// Encoded as big-endian bytes.
103pub trait EncodeBE: PackedSize {
104 /// Borrow `self` and pack into `bytes` using big-endian representation. Return the packed size in bytes.
105 ///
106 /// # Panics
107 ///
108 /// Panic if [PackedSize](PackedSize) represents a different size than `bytes` slice.
109 fn encode_as_be_bytes(&self, bytes: &mut [u8]) -> usize;
110}
111
112/// Encode using mixed-endian bytes.
113///

Callers

nothing calls this directly

Implementers 1

lib.rsendian_codec/src/lib.rs

Calls

no outgoing calls

Tested by

no test coverage detected