Add the Cython version of half of the wireformat (from earlier)