pub trait ArrLength {
    const LEN: usize;
}
Expand description

Get the length of constant sized arrays.

use ergo_lib::ArrLength;

type SecretKeyBytes = [u8; 32];

assert_eq!(32, SecretKeyBytes::LEN)

Required Associated Constants

Length of the array

Implementations on Foreign Types

Implementors