bzipper

Crates.iobzipper
lib.rsbzipper
version0.4.2
sourcesrc
created_at2024-06-08 08:38:07.92552
updated_at2024-07-07 14:16:53.122264
descriptionBinary (de)serialiser.
homepagehttps://achernar.dk/html/bzipper.html
repositoryhttps://mandelbrot.dk/bzipper
max_upload_size
id1265593
size120,774
Gabriel Bjørnager Jensen (bjoernager)

documentation

https://docs.rs/bzipper

README

bzipper

bzipper is a binary (de)serialiser for the Rust language.

Contrary to Serde/Bincode, the goal of this crate is to serialise data with a known size limit. Therefore, this crate may be more suited for networking or other cases where a fixed-sized buffer is needed.

Keep in mind that this project is still work-in-progress.

This crate does not require any dependencies at the moment.

See Docs.rs for documentation.

Data Model

Most primitive types serialise losslessly, with the exception being usize and isize. These serialise as u16 and i16, respectively, for portability reasons.

Unsized types, such as str and slices, are not supported. Instead, array should be used. For strings, the FixedString type is also provided.

Copyright & Licensing

Copyright 2024 Gabriel Bjørnager Jensen.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this program. If not, see https://www.gnu.org/licenses/.

Commit count: 0

cargo fmt