diff options
author | jnothman <jnothman@student.usyd.edu.au> | 2012-09-21 16:03:41 +1000 |
---|---|---|
committer | jnothman <jnothman@student.usyd.edu.au> | 2012-09-21 16:03:41 +1000 |
commit | ffec10dff3839ae182cff3d9fff67ab3fe6165be (patch) | |
tree | 1600277817efe8347e675fd970069eb441587e6f /test/test_sequnpack.py | |
parent | 5b66edaa156c43793b6f68013a738f545885b8d6 (diff) | |
download | msgpack-python-ffec10dff3839ae182cff3d9fff67ab3fe6165be.tar.gz |
Expose packed stream with Unpacker.read_bytes()
At present, Unpacker buffers reading from the stream, meaning the stream can no longer be read directly. Unpacker.read_bytes(n) provides access to the underlying data, allowing content of known size to be read without unpacking.
Diffstat (limited to 'test/test_sequnpack.py')
0 files changed, 0 insertions, 0 deletions