(stream, **kwargs)
return unpackb(data, **kwargs)
Unpack an object from `stream`.

    Raises `ExtraData` when `stream` contains extra bytes.
    See :class:`Unpacker` for options.
Unpack an object from `stream`.
Unpack an object from stream .
def unpack(stream, **kwargs):
    """
    Unpack an object from `stream`.

    Raises `ExtraData` when `stream` contains extra bytes.
    See :class:`Unpacker` for options.
    """
    data = stream.read()
    return unpackb(data, **kwargs)
def unpack ( stream , * * kwargs ) : data = stream . read ( ) return unpackb ( data , * * kwargs )