Crates.io | zerobuf |
lib.rs | zerobuf |
version | 0.0.3 |
source | src |
created_at | 2018-12-12 01:57:36.284288 |
updated_at | 2020-09-05 17:41:34.48513 |
description | A growable chunk of zeroed memory. |
homepage | |
repository | https://github.com/badel2/zerobuf |
max_upload_size | |
id | 101540 |
size | 33,412 |
A growable chunk of zeroed memory
Like a Vec
where len == capacity
.
It can be used as an alternative to a Vec
when the length is controlled externally.
RawVec
but the memory is always initializated.
ZeroBuf<T>
as you would use a [T]
.grow
method, to automatically increase capacity (with a configurable strategy).Vec
-like containerLicensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.