pub(crate) fn parse_code(code: usize) -> SafeResult
Expand description
Parse the result code
Returns the number of bytes written if the code represents success, or the error message code otherwise.
pub(crate) fn parse_code(code: usize) -> SafeResult
Parse the result code
Returns the number of bytes written if the code represents success, or the error message code otherwise.