BurntSushi/bstr

BArray type?

开放

#224 创建于 2026年3月26日

 (1 条评论) (0 个反应) (0 位负责人)Rust (73 个派生)github user discovery
enhancementhelp wanted

仓库指标

星标
 (1,070 个星标)
PR 合并指标
 (平均合并 233天) (30 天内合并 9 个 PR)

描述

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.

贡献者指南