1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-19 21:08:07 +00:00
trezor-firmware/src/lib
Jan Pochyla 53f6347838 protobuf: optimize memory, minor api changes
In StreamReader, avoid buffering reallocs by copying right into caller-supplied buffer.

Add loads() and dumps() to all scalar types through ScalarType superclass.

TODO: The API is steall really ugly, especially the stuff about targets/sources and load() function signatures.
2016-10-14 15:29:14 +02:00
..
__init__.py pb2py generator, build_pb2.sh 2016-09-27 17:23:22 +02:00
const_delay.py Fixed API (wait() returns number, not Sleep object) 2016-09-27 17:24:09 +02:00
protobuf.py protobuf: optimize memory, minor api changes 2016-10-14 15:29:14 +02:00
streams.py protobuf: optimize memory, minor api changes 2016-10-14 15:29:14 +02:00
typing.py fix typing.NewType 2016-09-27 17:26:04 +02:00
unittest.py fix trezor.crypto.random test 2016-09-27 17:25:48 +02:00