Module yami :: Class Bytes
[frames] | no frames]

Class Bytes

object --+
         |
        Bytes

Typed wrapper for binary arrays.

It is possible to directly access the 'value' attribute of this object it is equal to the string used to initialize this object.

Instance Methods
 
__init__(self, content)
x.__init__(...) initializes x; see help(type(x)) for signature
 
__str__(self)
str(x)
 
__hash__(self)
hash(x)

Inherited from object: __delattr__, __format__, __getattribute__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __subclasshook__

Properties

Inherited from object: __class__

Method Details

__init__(self, content)
(Constructor)

 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

__str__(self)
(Informal representation operator)

 

str(x)

Overrides: object.__str__
(inherited documentation)

__hash__(self)
(Hashing function)

 

hash(x)

Overrides: object.__hash__
(inherited documentation)