Function casper_types::bytesrepr::allocate_buffer
source ·
[−]Expand description
Returns a Vec<u8>
initialized with sufficient capacity to hold to_be_serialized
after
serialization, or an error if the capacity would exceed u32::max_value()
.