buffer_from_string

Function buffer_from_string 

Source
pub fn buffer_from_string(data: &str) -> Buffer
Expand description

Creates an in-memory UTF-8 buffer.