cython实现的ByteWriter和ByteReader