Function parse_code

Source
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.