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

Method encode_as_me_bytes

endian_codec/src/lib.rs:226–229  ·  view source on GitHub ↗
(&self, bytes: &mut [u8])

Source from the content-addressed store, hash-verified

224impl EncodeME for u8 {
225 #[inline]
226 fn encode_as_me_bytes(&self, bytes: &mut [u8]) -> usize {
227 bytes.copy_from_slice(&(self.to_be_bytes()));
228 1
229 }
230}
231
232impl DecodeME for u8 {

Callers 3

derive_all_serializeFunction · 0.80
derive_allFunction · 0.80

Calls

no outgoing calls

Tested by 3

derive_all_serializeFunction · 0.64
derive_allFunction · 0.64