Module rust_multicodec::codec_prefix [] [src]

Functions

add

Returns the data prefixed with the codec's code in a u8 buffer.

get

Returns the codec's code the data was prefixed with.

remove

Removes the codec prefix and returns the raw data.