boprint :: fn (buf: u8, offset: s32, format: string, args: ...) s32
Write string to the input buffer starting write on offset. Format string can include
% which are replaced by corresponding argument value
args. Value-string conversion is done automatically, we can
pass values of any type as an arguments, even structures or arrays.
bprint function accepts C-like escape sequences as
When passed buffer has not enough space to handle whole resulting string, function will print just part fitting into the buffer.
Count of characters written into buffer, this count does not include terminal character written at the end of the result string.