crystalspace.jbind.interfaces.iutil.databuff
Interface iDataBuffer

All Superinterfaces:
iBase, iPointer
All Known Implementing Classes:
csDataBuffer

public interface iDataBuffer
extends iBase

The iDataBuffer interface can be used to exchange buffers with abstract data between plugins. The object does not care about the contents of the buffer; it just can perform several simple operations on them. The interface is designed to be light-weight, as an alternative to the heavy iString interface.

Author:
Java wrapper - Quentin Anciaux, c++ version - http://crystal.sourceforge.net/docs/online/devapi/structiDataBuffer.php

Method Summary
 csNativeByteArray getData()
          Get the buffer as an abstract pointer.
 int getSize()
          Query the buffer size.
 
Methods inherited from interface crystalspace.jbind.interfaces.iutil.scf.iBase
decRef, getName, getRefCount, getVersion, incRef, queryInterface, queryInterfaceSafe
 
Methods inherited from interface crystalspace.jbind.interfaces.iPointer
changePointer, getPointer, isMemoryOwner, setMemoryOwner
 

Method Detail

getData

public csNativeByteArray getData()
Get the buffer as an abstract pointer. Implemented in csDataBuffer. Referenced by csDataBuffer::csDataBuffer(), GetInt8(), GetUint8(), and operator *().


getSize

public int getSize()
Query the buffer size. Implemented in csDataBuffer. Referenced by csDataBuffer::csDataBuffer().

Returns: