Trait dryoc::types::NewByteArray[][src]

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