def unpack(stream, **kwargs):
data = stream.read()<EOL>return unpackb(data, **kwargs)<EOL>
Unpack an object from `stream`.

Raises `ExtraData` when `stream` contains extra bytes.
See :class:`Unpacker` for options.