send a bytes object into the c layer instead of a bytearray, which is unimplemented in pypy