#endianness #byte

no-std bytesutil

Yet another byte utility for Rust

7 releases (breaking)

0.7.0 Dec 6, 2023
0.6.0 Nov 27, 2023
0.5.0 Nov 23, 2023
0.4.0 Nov 21, 2023
0.1.0 Nov 21, 2023

#140 in Data formats

Download history 25/week @ 2024-07-20 77/week @ 2024-07-27 19/week @ 2024-08-03 81/week @ 2024-08-10 62/week @ 2024-08-17 21/week @ 2024-08-24 29/week @ 2024-08-31 15/week @ 2024-09-07 35/week @ 2024-09-14 42/week @ 2024-09-21 28/week @ 2024-09-28 4/week @ 2024-10-05 12/week @ 2024-10-12 4/week @ 2024-10-19 7/week @ 2024-10-26 38/week @ 2024-11-02

61 downloads per month
Used in 3 crates (2 directly)

BSD-3-Clause

28KB
388 lines

logo

bytesutil

Yet another byte utility for Rust.

Features

  • A java-like ByteBuf.
  • Support for encoding numbers and booleans with little-endian or big-endian ordering.
  • IO utilities.

Usage and development

Prerequisites

All that is needed to develop this project is cargo and Rust. You can install rust from https://www.rust-lang.org/tools/install.

Installation

You can install the package from crates.io.


lib.rs:

This library is a byte utility which provides simplified APIs over to_le_bytes, from_le_bytes, to_be_bytes, from_be_bytes and a java-like ByteBuf. The library also works in no_std mode.

No runtime deps

Features