wip
src: add StringBytes::Encode() function
buffer: Use StringBytes::Encode