Skip to content

fredpit/byte-string

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

byte-string

A statically allocated StringBuffer

Perfect for embedded projects.

Basic usage :

''' // A string buffer of 20 bytes. let mut string_buf = ByteString::<20>::new();

// It's writable. let _ = write!(&mut string_buf, "{} x {} = {}", 2, 3, 2*3);

// It can be reuse. string_buf.clear(); string_buf.from_str("Hello World !!");

// It can be converted to ['str'] let my_str = string_buf.str(); let the_str : &str = (&string_buf).into(); '''

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages