error_type Buffer_ToUnknown(BufferHandle *handle, IUnknownHandle **result)
Reinterpret current object as IUnknownHandle.
error_type Buffer_Equals(const BufferHandle *handle, const BufferHandle *other, boolean_type *result)
Compares two buffers by their value.
error_type Buffer_Release(BufferHandle *handle)
Decrement the internal reference counter.
This file contains all type forward declarations returned by the library API.
uint32_t size_type
Size type defined in standard library.
Definition: c_types.h:62
const char * string_type
C-Style string.
Definition: c_types.h:82
uint32_t error_type
This is return value type of all API functions.
Definition: c_types.h:25
This file contains macro declarations for importing and exporting symbols from library boundaries...
error_type Buffer_GetData(const BufferHandle *handle, string_type *data, size_type *size)
Get data content from buffer.
error_type Buffer_Create(BufferHandle **result)
Creates a new buffer instance.
error_type Buffer_SetData(BufferHandle *handle, string_type data, size_type size)
Set new data content.
error_type Buffer_Hash(const BufferHandle *handle, size_type *result)
Get object hash code.
This file contains types and constants used as parameters or return values.
error_type Buffer_FromUnknown(IUnknownHandle *handle, BufferHandle **result)
Convert IUnknownHandle to BufferHandle.
Represents memory stored data.
Base class for reference counting.
int8_t boolean_type
Boolean type supported in C.
Definition: c_types.h:31
error_type Buffer_ToInputStream(const BufferHandle *handle, InputStreamHandle **result)
Converts current buffer state to input stream.