Support parsing integers from &[u8]
#8
Labels
enhancement
New feature or request therefor
under consideration
Dev has not yet decided whether or how to implement
The "obvious" way to do this would be for the parsing functions to take
S: AsRef<[u8]>
so that they can be passed both&str
and&[u8]
, but then how should functions that only consume some of the input return the remainder?Haystack
(orInput
?) trait that is implemented by both&str
and&[u8]
(with or without&
?), and make the parsing functions operate on instances of this trait?The text was updated successfully, but these errors were encountered: