bc

Type Alias VarIntBytes

Source
pub type VarIntBytes<const MIN_LEN: usize = 0> = Confined<Vec<u8>, MIN_LEN, U32>;

Aliased Type§

struct VarIntBytes<const MIN_LEN: usize = 0>(/* private fields */);

Trait Implementations§

Source§

impl From<Annex> for VarIntBytes<1>

Source§

fn from(wrapped: Annex) -> Self

Converts to this type from the input type.
Source§

impl From<ByteStr> for VarIntBytes

Source§

fn from(wrapped: ByteStr) -> Self

Converts to this type from the input type.
Source§

impl From<ScriptBytes> for VarIntBytes

Source§

fn from(wrapped: ScriptBytes) -> Self

Converts to this type from the input type.