libmobi
C library for handling MOBI format ebook documents
Data Fields
MOBIBuffer Struct Reference

Buffer to read to/write from. More...

#include <buffer.h>

Data Fields

size_t offset
 
size_t maxlen
 
unsigned char * data
 
MOBI_RET error
 

Detailed Description

Buffer to read to/write from.

Field Documentation

◆ data

unsigned char* MOBIBuffer::data

Pointer to buffer data

◆ error

MOBI_RET MOBIBuffer::error

MOBI_SUCCESS = 0 if operation on buffer is successful, non-zero value on failure

◆ maxlen

size_t MOBIBuffer::maxlen

Length of the buffer data

◆ offset

size_t MOBIBuffer::offset

Current offset in respect to buffer start


The documentation for this struct was generated from the following file: