Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
224
impl 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
232
impl DecodeME for u8 {
Callers
3
derive_mixed_endian_serialize
Function · 0.80
derive_all_serialize
Function · 0.80
derive_all
Function · 0.80
Calls
no outgoing calls
Tested by
3
derive_mixed_endian_serialize
Function · 0.64
derive_all_serialize
Function · 0.64
derive_all
Function · 0.64