BurntSushi/bstr

BArray type?

Open

#224 opened on Mar 26, 2026

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Rust (73 forks)github user discovery
enhancementhelp wanted

Repository metrics

Stars
 (1,070 stars)
PR merge metrics
 (Avg merge 233d) (9 merged PRs in 30d)

Description

It would be helpful to have a fixed size BArray type which is just a [u8; N]. This is especially useful when reading bytes directly into packed structs (i.e. with bytemuck) instead of having to use an array.

If there is no overall rejection of such an addition I can work on a pr.

Contributor guide