aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/clickhouse-connect/clickhouse_connect/driverc/buffer.pxd
blob: b522053fec20158d33ff194cd77fe0638a729c5d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
cdef class ResponseBuffer:
    cdef:
        unsigned long long buf_loc, buf_sz, slice_sz
        signed long long slice_start
        object gen, source
        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)