otupy.types.base.binary_x.Binaryx
- class Binaryx(b=None)
Bases:
BinaryOpenC2 Binary HEX data
Binary data that are expected to be encoded with hex as defined in [RFC4648], Section 8 (Sec. 3.1.5).
Methods
Builds from base64encoding
getSet the value internally and covert it, if necessary.
Encodes with base64
- __init__(b=None)
Initializes from bytes, Binary, base64 strings, or null
- classmethod fromdict(dic, e=None)
Builds from base64encoding
- Parameters:
dic – The intermediary dictionary representation from which the object is built.
e – The
Encoderthat is being used.
- Returns:
An instance of this class initialized from the dictionary values.
- set(b)
Set the value internally and covert it, if necessary. Accepted data: bytes, hex strings, Binary, Binaryx.