substrate_scale_enc_bytes
Module for Substrate SCALE encoding for bytes.
- class SubstrateScaleBytesEncoder
Bases:
SubstrateScaleEncoderBase
Substrate SCALE encoding class for bytes.
- classmethod Encode(value: Any) bytes
Encode the specified value to bytes.
- Parameters:
value (any) – Value to be encoded
- Returns:
Encoded value
- Return type:
bytes