Crate rust_multicodec [−] [src]
This library is a Rust implementation of the https://github.com/multiformats/multicodec project.
Functions
add_prefix |
Returns the data prefixed with the codec's code in a u8 buffer. |
get_codec |
Returns the codec's code the data was prefixed with. |
remove_prefix |
Removes the codec prefix and returns the raw data. |