#!/usr/bin/env python from struct import unpack from six import BytesIO, b from . import dumps, loads def _bintoint(data): return unpack("