Parses an `u64` from `s`.
(s: &str)
| 204 | |
| 205 | /// Parses an `u64` from `s`. |
| 206 | pub fn parse_uint64(s: &str) -> Result<u64, ParseError> { |
| 207 | s.trim() |
| 208 | .parse() |
| 209 | .map_err(|e| ParseError::invalid_input_syntax("uint8", s).with_details(e)) |
| 210 | } |
| 211 | |
| 212 | /// Writes an `u64` to `buf`. |
| 213 | pub fn format_uint64<F>(buf: &mut F, u: u64) -> Nestable |
no test coverage detected