# coding: utf-8
=
=
"""
Pack object `o` and write it to `stream`
See :class:`Packer` for options.
"""
=
"""
Pack object `o` and return packed bytes
See :class:`Packer` for options.
"""
return
"""
Unpack an object from `stream`.
Raises `ExtraData` when `stream` contains extra bytes.
See :class:`Unpacker` for options.
"""
=
return
# alias for compatibility to simplejson/marshal/pickle.
=
=
=
=