#byte #endian #little-endian

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

#138 in Data formats

Download history 69/week @ 2024-06-17 2/week @ 2024-06-24 12/week @ 2024-07-08 55/week @ 2024-07-15 91/week @ 2024-07-29 7/week @ 2024-08-05 89/week @ 2024-08-12 67/week @ 2024-08-19 17/week @ 2024-08-26 22/week @ 2024-09-02 29/week @ 2024-09-09 24/week @ 2024-09-16 49/week @ 2024-09-23 17/week @ 2024-09-30

122 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