mirror of
https://github.com/hanzo-ds/connect.git
synced 2026-10-30 20:31:24 +00:00
* reenable and fix driverc drift * target ctypes directly * linting * update changelog * pivot cython optimization * update changelog
14 lines
718 B
Cython
14 lines
718 B
Cython
cdef class ResponseBuffer:
|
|
cdef:
|
|
unsigned long long buf_loc, buf_sz, slice_sz
|
|
signed long long slice_start
|
|
object gen, source, _exception_tag, open_marker, close_marker, carryover, exception_buf, last_message_data, current_chunk
|
|
char* buffer
|
|
char* slice
|
|
unsigned char _read_byte_load(self) except ?255
|
|
char* read_bytes_c(self, unsigned long long sz) except NULL
|
|
Py_buffer buff_source
|
|
cdef object _read_str_col(self, unsigned long long num_rows, char * encoding)
|
|
cdef object _read_nullable_str_col(self, unsigned long long num_rows, char * encoding, object null_obj)
|
|
cdef void _check_for_exception(self, object chunk) except *
|