Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: version_1_9
Fetching contributors…

Cannot retrieve contributors at this time

39 lines (28 sloc) 0.747 kB
#ifndef INCLUDE_WINXEDXX_BYTEBUFFER_H
#define INCLUDE_WINXEDXX_BYTEBUFFER_H
// winxedxx_bytebuffer.h
// (C) 2012 Julián Albo
namespace WinxedXX
{
class WxxByteBuffer : public WxxDefault
{
public:
WxxByteBuffer();
int elements() const;
WxxByteBuffer & set(int i);
WxxByteBuffer & set(const std::string & s);
int get_integer_keyed(int i);
WxxObjectPtr get_pmc_keyed(int i);
void set_integer_native(int i);
void set_integer_keyed(int i, int value);
void set_pmc_keyed(int i, const WxxObjectPtr &value);
void * get_pointer();
void set_pointer(void *ptr);
private:
unsigned char *p;
size_t allocated_size;
size_t size;
};
} // namespace WinxedXX
#endif
// End of winxedxx_bytebuffer.h
Jump to Line
Something went wrong with that request. Please try again.