Download rust/crates/hyperkitty-worm/src/encode.rs from Snapkitty/hyperkitty-constraint-dsl: direct link, hf CLI and curl.
- Browser
- Download file 226 Bytes
-
https://huggingface.co/Snapkitty/hyperkitty-constraint-dsl/resolve/main/rust/crates/hyperkitty-worm/src/encode.rs
- Command line
-
hf download hf://Snapkitty/hyperkitty-constraint-dsl/rust/crates/hyperkitty-worm/src/encode.rs
-
curl -L -o encode.rs https://huggingface.co/Snapkitty/hyperkitty-constraint-dsl/resolve/main/rust/crates/hyperkitty-worm/src/encode.rs
226 Bytes
| /// Encode module — delegates to WormRecord::to_bytes() | |
| use crate::record::WormRecord; | |
| /// Serialize a WormRecord to its binary representation. | |
| pub fn encode_record(record: &WormRecord) -> Vec<u8> { | |
| record.to_bytes() | |
| } | |