#buffer #byte #typed #view

tailed

Typed view into dynamically-sized byte buffers

1 unstable release

0.0.1 Jan 18, 2020

MIT/Apache

12KB
79 lines


lib.rs:

Supposedly a "safe" way to create a custom DSTs with flexible array members.

Currently, the main usage is FFI that uses a single allocation to return both the API-consumable data and the backing storage for it at the same, think inline strings or collections with dynamic item count.

Dependencies

~11KB