def byte2int(b):
    return ord(b)if PY2 else b
Cleverish test to check that vimap is really streaming. Essentially
dataset/ETHPy150Open maebert/jrnl/jrnl/util.py/byte2int--crossover with--dataset/ETHPy150Open gatoatigrado/vimap/tests/streaming_test.py/StreamingTest.test_streaming