def _from_bytes(value, dummy, _int=int, _hexlify=binascii.hexlify):
        "An implementation of int.from_bytes for python 2.x."
        return _int(_hexlify(value), 16)
An implementation of int.from_bytes for python 2.x.
stackoverflow/venv/lib/python3.6/site-packages/bson/decimal128.py