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.

貢獻者指南