Return count of written bytes from `jBinary::write` and `jBinary::writeAll` methods.