Trait dryoc::types::NewByteArray

source ·
pub trait NewByteArray<const LENGTH: usize>: MutByteArray<LENGTH> + NewBytes {
    fn new_byte_array() -> Self;
    fn gen() -> Self;
}
Expand description

Fixed-length byte array that can be created and initialized.

Required Methods

Returns a new fixed-length byte array, initialized with zeroes.

Returns a new fixed-length byte array, filled with random values.

Implementations on Foreign Types

Returns a new byte array filled with random data.

Returns a new byte array filled with random data.

Implementors