MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / Bytes

Class Bytes

atomic-core/examples/graph_codec_lab/codec.rs:707–712  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

705 fn authored_byte_references_and_sequence_fallback_are_exact() -> Result<()> {
706 #[derive(Serialize)]
707 struct Bytes {
708 content: Vec<u8>,
709 new_content: Vec<Vec<u8>>,
710 old: Vec<u8>,
711 name: String,
712 }
713 let value = Bytes {
714 content: b"hello".to_vec(),
715 new_content: vec![vec![], vec![1, 2, 255]],

Calls

no outgoing calls