4#ifndef RUDIMENTS_BYTEBUFFER_H
5#define RUDIMENTS_BYTEBUFFER_H
7#include <rudiments/private/bytebufferincludes.h>
74 ssize_t
write(
const byte_t *data,
size_t size);
83 ssize_t
write(
const char *
string,
size_t length);
91 ssize_t
write(
const char *
string);
100 ssize_t
write(
const wchar_t *
string,
size_t length);
108 ssize_t
write(
const wchar_t *
string);
373 ssize_t
read(byte_t *data,
size_t size);
392 bool clear(byte_t *initialcontents,
size_t initialsize);
419 #include <rudiments/private/bytebuffer.h>
Definition bytebuffer.h:13
ssize_t write(uint16_t number)
bytebuffer & operator=(bytebuffer &v)
ssize_t write(const wchar_t *string, size_t length)
bytebuffer * append(int16_t number)
bytebuffer * append(int64_t number)
ssize_t write(const char *string)
bytebuffer * append(const char *string, size_t length)
ssize_t writeUcs2(const ucs2_t *string, size_t length)
ssize_t write(int64_t number)
ssize_t write(byte_t character)
ssize_t write(int16_t number)
bool clear(size_t initialsize)
off64_t setPositionRelativeToCurrent(off64_t offset)
ssize_t write(float number)
ssize_t writeUcs2(const ucs2_t *string)
ssize_t write(double number)
bytebuffer(byte_t *initialcontents, size_t initialsize)
ssize_t write(const byte_t *data, size_t size)
bytebuffer * append(const wchar_t *string, size_t length)
bytebuffer * appendUcs2(ucs2_t character)
bool clear(byte_t *initialcontents, size_t initialsize)
bytebuffer * append(wchar_t character)
ssize_t write(char character)
off64_t setPositionRelativeToBeginning(off64_t offset)
bytebuffer * append(const wchar_t *string)
ssize_t write(const wchar_t *string)
virtual void truncate(size_t pos)
bytebuffer(size_t initialsize)
ssize_t writeUcs2(ucs2_t character)
ssize_t write(const char *string, size_t length)
ssize_t write(uint32_t number)
bytebuffer(bytebuffer &v)
ssize_t write(uint64_t number)
bytebuffer * append(uint16_t number)
bytebuffer * appendUcs2(const ucs2_t *string, size_t length)
ssize_t write(int32_t number)
ssize_t read(byte_t *data, size_t size)
ssize_t write(wchar_t character)
bytebuffer * append(int32_t number)
bytebuffer * append(double number)
bytebuffer * append(byte_t character)
bytebuffer * append(uint64_t number)
bytebuffer * appendUcs2(const ucs2_t *string)
bytebuffer * append(uint32_t number)
bytebuffer * append(const char *string)
off64_t setPositionRelativeToEnd(off64_t offset)
bytebuffer * append(char character)
bytebuffer * append(float number)
bytebuffer * append(const byte_t *data, size_t size)
const byte_t * getBuffer()
Definition character.h:11