1 #ifndef SRL_BUFFER_TYPES_H_
2 #define SRL_BUFFER_TYPES_H_
3 
4 typedef unsigned char srl_buffer_char;
5 typedef struct {
6     srl_buffer_char *start;    /* ptr to "physical" start of output buffer */
7     srl_buffer_char *end;      /* ptr to end of output buffer */
8     srl_buffer_char *pos;      /* ptr to current position within output buffer */
9     srl_buffer_char *body_pos; /* ptr to start of body within output buffer for protocol V2 encoding */
10 } srl_buffer_t;
11 
12 #endif
13