DecodeΒΆ
Decode modules can only be used by input modules. They are reponsible for converting the incoming data format into a format Wisbone can work with.
Some characteristings:
- Decoder modules should base
wishbone.protocol.Decode
Wishbone comes with following protocol decoders:
Name | Description |
---|---|
wishbone.protocol.decode.plain |
Decode plaintext using the defined charset. |
wishbone.protocol.decode.json |
Decode JSON data into a Python data structure. |
wishbone.protocol.decode.msgpack |
Decode MSGpack data into a Python data structure. |
See following examples: