Function rosc::encoder::encode_string[][src]

pub fn encode_string<S: Into<String>>(s: S) -> Vec<u8>
Notable traits for Vec<u8, A>
impl<A> Write for Vec<u8, A> where
    A: Allocator
Expand description

Null terminates the byte representation of string s and adds null bytes until the length of the result is a multiple of 4.