Download rust/crates/hyperkitty-worm/src/decode.rs from Snapkitty/hyperkitty-constraint-dsl: direct link, hf CLI and curl.
- Browser
- Download file 252 Bytes
-
https://huggingface.co/Snapkitty/hyperkitty-constraint-dsl/resolve/main/rust/crates/hyperkitty-worm/src/decode.rs
- Command line
-
hf download hf://Snapkitty/hyperkitty-constraint-dsl/rust/crates/hyperkitty-worm/src/decode.rs
-
curl -L -o decode.rs https://huggingface.co/Snapkitty/hyperkitty-constraint-dsl/resolve/main/rust/crates/hyperkitty-worm/src/decode.rs
252 Bytes
| /// Decode module — delegates to WormRecord::from_bytes() | |
| use crate::record::WormRecord; | |
| /// Deserialize a WormRecord from a byte slice. | |
| pub fn decode_record(bytes: &[u8]) -> hyperkitty_core::Result<WormRecord> { | |
| WormRecord::from_bytes(bytes) | |
| } | |