Skip to main content

bytes_of

Function bytes_of 

Source
pub fn bytes_of(v: &[u8]) -> Bytes
Expand description

Payload bytes for an RPC field that Go fills with bytes.Clone.