module documentation
Encoding / decoding utilities
Class |
|
A helper base or mixin class which adds __str__ method as an alias of getText method but marks it as deprecated |
Class |
|
A helper base or mixin class which adds __str__ method as an alias of toWire method but marks it as deprecated |
Function | get |
Getting tuple of available string values (byte string and unicode string) for given value |
Function | to |
Converts value to its bytes representation: |
Function | to |
Converts string to unicode: |
Converts value to its bytes representation: * Uses value`s toWire method if it has one * Encodes to utf-8 if the value is a unicode string * Otherwise wraps value into bytes()