#include <stdlib.h>
#include <string.h>
#include "zipint.h"
zip_uint8_t *
_zip_buffer_data(zip_buffer_t *buffer) { … }
void
_zip_buffer_free(zip_buffer_t *buffer) { … }
bool
_zip_buffer_eof(zip_buffer_t *buffer) { … }
zip_uint8_t *
_zip_buffer_get(zip_buffer_t *buffer, zip_uint64_t length) { … }
zip_uint16_t
_zip_buffer_get_16(zip_buffer_t *buffer) { … }
zip_uint32_t
_zip_buffer_get_32(zip_buffer_t *buffer) { … }
zip_uint64_t
_zip_buffer_get_64(zip_buffer_t *buffer) { … }
zip_uint8_t
_zip_buffer_get_8(zip_buffer_t *buffer) { … }
zip_uint64_t
_zip_buffer_left(zip_buffer_t *buffer) { … }
zip_uint64_t
_zip_buffer_read(zip_buffer_t *buffer, zip_uint8_t *data, zip_uint64_t length) { … }
zip_buffer_t *
_zip_buffer_new(zip_uint8_t *data, zip_uint64_t size) { … }
zip_buffer_t *
_zip_buffer_new_from_source(zip_source_t *src, zip_uint64_t size, zip_uint8_t *buf, zip_error_t *error) { … }
zip_uint64_t
_zip_buffer_offset(zip_buffer_t *buffer) { … }
bool
_zip_buffer_ok(zip_buffer_t *buffer) { … }
zip_uint8_t *
_zip_buffer_peek(zip_buffer_t *buffer, zip_uint64_t length) { … }
int
_zip_buffer_put(zip_buffer_t *buffer, const void *src, size_t length) { … }
int
_zip_buffer_put_16(zip_buffer_t *buffer, zip_uint16_t i) { … }
int
_zip_buffer_put_32(zip_buffer_t *buffer, zip_uint32_t i) { … }
int
_zip_buffer_put_64(zip_buffer_t *buffer, zip_uint64_t i) { … }
int
_zip_buffer_put_8(zip_buffer_t *buffer, zip_uint8_t i) { … }
int
_zip_buffer_set_offset(zip_buffer_t *buffer, zip_uint64_t offset) { … }
int
_zip_buffer_skip(zip_buffer_t *buffer, zip_uint64_t length) { … }
zip_uint64_t
_zip_buffer_size(zip_buffer_t *buffer) { … }