mirror of
https://github.com/msgpack/msgpack-python.git
synced 2025-11-01 01:50:54 +00:00
packer: add buf_size option (#604)
And change the default buffer size to 256KiB. Signed-off-by: Rodrigo Tobar <rtobar@icrar.org> Co-authored-by: Rodrigo Tobar <rtobar@icrar.org>
This commit is contained in:
parent
bf2413f915
commit
72e65feb0e
3 changed files with 15 additions and 27 deletions
|
|
@ -210,7 +210,7 @@ def unpackb(object packed, *, object object_hook=None, object list_hook=None,
|
|||
raise ValueError("Unpack failed: error = %d" % (ret,))
|
||||
|
||||
|
||||
cdef class Unpacker(object):
|
||||
cdef class Unpacker:
|
||||
"""Streaming unpacker.
|
||||
|
||||
Arguments:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue