def bigend_2_int(p_bytes):
    """ Convert bigending bytestring to int
    """
    l_ix = 0
    l_int = 0
    while l_ix < len(p_bytes):
        l_b = int(p_bytes[l_ix])
        l_int = l_int * 256 + l_b
        l_ix += 1
    return l_int