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>
impl<T: ConsensusDecode> ConsensusDecode for VarIntArray<T>
fn consensus_decode( reader: &mut impl Read ) -> Result<Self, ConsensusDecodeError>
fn consensus_deserialize( bytes: impl AsRef<[u8]> ) -> Result<Self, ConsensusDecodeError>
source§impl<T: ConsensusEncode> ConsensusEncode for VarIntArray<T>
impl<T: ConsensusEncode> ConsensusEncode for VarIntArray<T>
source§impl From<ScriptBytes> for VarIntArray<u8>
impl From<ScriptBytes> for VarIntArray<u8>
source§fn from(wrapped: ScriptBytes) -> Self
fn from(wrapped: ScriptBytes) -> Self
Converts to this type from the input type.