summaryrefslogtreecommitdiff
path: root/src/sstream/mod.rs
AgeCommit message (Collapse)Author
2024-06-11Add logo; Clean up code; Fix array deserialisation (require Default); Bump ↵0.4.0Gabriel Bjørnager Jensen
minor; Update commenting; Make serialisations fallible; Impl Serialise and Deserialise for usize and isize (restrict to 16 bits); Add new errors: UsizeOutOfRange, IsizeOutOfRange; Rework sstreams; Add buffer type; Fix serialisation of Option<T>; Disable std; Rename error: EndOfDStream -> EndOfStream; Update documentation; Update readme; Reformat changelog;
2024-06-09Bump minor; Document errors; Rename: ArrayLengthMismatch -> ArrayTooShort; ↵0.3.0Gabriel Bjørnager Jensen
Remove error FixedStringTooShort; Rename: InvalidUtf8 -> BadString; Rework errors; Rename methods: as_d_stream -> as_dstream, to_s_stream -> to_sstream; Add SERIALISATION_LIMIT constant to Serialise; Make some deserialisations infallible; Add method append_byte to SStream; Add method take_byte to DStream; Rename SStream -> Sstream, DStream -> Dstream; Update readme; Update documentation; Make Deserialise require Serialise; Fix copyright/license notice in "src/serialise/test.rs";