#include <cobs.h>
Data Fields | |
| enum cobs_magic | magic | 
| Magic number.   | |
| gchar * | outbuf | 
| Output buffer start.   | |
| gchar * | end | 
| First char beyond output buffer.   | |
| gchar * | o | 
| Where next non-NUL data will be written.   | |
| gchar * | cp | 
| Where we'll write the code length.   | |
| guchar | code | 
| Current code length.   | |
| guchar | last_code | 
| Last code we emitted.   | |
| gboolean | saw_nul | 
| True if we saw a NUL in the input.   | |
| gboolean | closed | 
| True if the stream has been closed.   | |
      
  | 
  
| 
 True if the stream has been closed. 
  | 
  
      
  | 
  
| 
 Current code length. 
  | 
  
      
  | 
  
| 
 Where we'll write the code length. 
  | 
  
      
  | 
  
| 
 First char beyond output buffer. 
  | 
  
      
  | 
  
| 
 Last code we emitted. 
  | 
  
      
  | 
  
| 
 Magic number. 
  | 
  
      
  | 
  
| 
 Where next non-NUL data will be written. 
  | 
  
      
  | 
  
| 
 Output buffer start. 
  | 
  
      
  | 
  
| 
 True if we saw a NUL in the input. 
  | 
  
 
1.3.6