Type Alias bc::VarIntArray

source ·
pub type VarIntArray<T> = Confined<Vec<T>, 0, U32>;

Aliased Type§

struct VarIntArray<T>(/* private fields */);

Trait Implementations§

source§

impl<T: ConsensusDecode> ConsensusDecode for VarIntArray<T>

source§

impl<T: ConsensusEncode> ConsensusEncode for VarIntArray<T>

source§

fn consensus_encode(&self, writer: &mut impl Write) -> Result<usize, IoError>

source§

fn consensus_serialize(&self) -> Vec<u8>

source§

impl From<ByteStr> for VarIntArray<u8>

source§

fn from(wrapped: ByteStr) -> Self

Converts to this type from the input type.
source§

impl From<ScriptBytes> for VarIntArray<u8>

source§

fn from(wrapped: ScriptBytes) -> Self

Converts to this type from the input type.
source§

impl From<Witness> for VarIntArray<VarIntArray<u8>>

source§

fn from(wrapped: Witness) -> Self

Converts to this type from the input type.
source§

impl<T> LenVarInt for VarIntArray<T>