Convert to bytes instance Note that it's the data represented that is converted; the checkum and witver is not included.
(self)
| 52 | return self |
| 53 | |
| 54 | def to_bytes(self): |
| 55 | """Convert to bytes instance |
| 56 | |
| 57 | Note that it's the data represented that is converted; the checkum and |
| 58 | witver is not included. |
| 59 | """ |
| 60 | return b'' + self |
| 61 | |
| 62 | def __str__(self): |
| 63 | """Convert to string""" |
no outgoing calls