Go to the documentation of this file.
18 #ifndef _DECAF_INTERNAL_NIO_BYTEBUFFER_H_
19 #define _DECAF_INTERNAL_NIO_BYTEBUFFER_H_
153 ByteArrayBuffer(
unsigned char* array,
int size,
int offset,
int length,
154 bool readOnly =
false );
174 int offset,
int length,
bool readOnly =
false );
194 return this->readOnly;
200 virtual unsigned char* array();
205 virtual int arrayOffset()
const;
262 virtual unsigned char get()
const;
267 virtual unsigned char get(
int index )
const;
273 return (
char)this->
get();
281 return (
char)this->
get( index );
287 virtual double getDouble();
292 virtual double getDouble(
int index )
const;
297 virtual float getFloat();
302 virtual float getFloat(
int index )
const;
307 virtual long long getLong();
312 virtual long long getLong(
int index )
const;
317 virtual int getInt();
322 virtual int getInt(
int index )
const;
327 virtual short getShort();
332 virtual short getShort(
int index )
const;
418 this->readOnly = value;