string_to_contents

Function string_to_contents 

Source
pub fn string_to_contents(string: String) -> Contents
Expand description

Converts a String to Contents, will panic if the input String is larger than 4096 bytes