TheDaemoness
0196a11a8a
Add some ergonomics improvements ( #2 )
...
* Generalize tokenise to any AsRef<[u8]>
* Add Line::write_to()
Also rewrites some functions in format.rs to be more Write-focused.
* Add some basic trait impls for Line and Error
* cargo fmt
---------
Co-authored-by: jesopo <github@lolnerd.net>
2023-04-08 19:32:32 +01:00
jesopo
a5471a7dd9
derive Debug on Line
2023-03-31 17:51:26 +00:00
TheDaemoness
541b639f1a
Add example usage and fix some documentation nits
2023-03-23 14:22:54 -07:00
jesopo
147eeff8d1
documentation and `impl TryFrom<&[u8]> for Line`
2023-03-23 18:12:04 +00:00
jesopo
3f3892158b
split out files, add Line.format()
2023-03-22 22:14:17 +00:00
jesopo
a16648b351
initialise `output` with a maximum possible length
2023-03-22 10:29:06 +00:00
jesopo
f976d410b3
this doesn't need to be String::from_utf8
2023-03-22 10:13:04 +00:00
jesopo
59aacddea4
better tag decode
2023-03-22 10:07:20 +00:00
jesopo
a3b9eca823
decode message tag values
2023-03-21 23:09:57 +00:00
jesopo
b484a0834e
first code commit
2023-03-21 21:50:02 +00:00