core :: Writer :: write_msgpack_str8
text
in str8 format, max of 0xFF bytesRequire: text.byte_length <= 0xFF
# Write `text` in _str8_ format, max of 0xFF bytes
#
# Require: `text.byte_length <= 0xFF`
fun write_msgpack_str8(text: Text)
do
var len = text.byte_length
assert len <= 0xFF
write_byte 0xD9
write_byte len
write text
end
lib/msgpack/write.nit:186,2--197,4