class documentation
class EncoderTests(unittest.TestCase): (source)
Undocumented
Method | test |
byte string is returned without changes if passed to to_bytes function |
Method | test |
integer is converted to a string representation, then encoded to bytes if passed to to_bytes function |
Method | test |
unicode string is encoded to utf-8 if passed to to_bytes function |
Method | test |
to_bytes function use object`s toWire method to get its bytes representation if it has one |
integer is converted to a string representation, then encoded to bytes if passed to to_bytes function