com.visioglobe.libVisioDevKit
Class VgBinaryBuffer
java.lang.Object
com.visioglobe.libVisioDevKit.VgReferenced
com.visioglobe.libVisioDevKit.VgBinaryBuffer
public class VgBinaryBuffer
- extends VgReferenced
The VgBinaryBuffer class is used to manipulate binary data.
A VgBinaryBuffer inherits from VgReferenced, so if it's correctly used (see documentation
of VgRefPtr) it will be automatically deleted when it's no longer referenced (except if
pVgBinaryBufferDoesDelete is false at its creation, as should be the case for static buffers).
- Class:
- VgEngine::VgBinaryBuffer
- Date:
- 25/02/2010
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VgBinaryBuffer
public VgBinaryBuffer(long cPtr,
boolean cMemoryOwn)
- Copy constructor.
VgBinaryBuffer
public VgBinaryBuffer()
VgBinaryBuffer
public VgBinaryBuffer(byte[] pData,
boolean pVgBinaryBufferDoesDelete)
VgBinaryBuffer
public VgBinaryBuffer(byte[] pData)
getCPtr
public static long getCPtr(VgBinaryBuffer obj)
finalize
protected void finalize()
- Overrides:
finalize
in class VgReferenced
delete
public void delete()
- Overrides:
delete
in class VgReferenced
getLength
public long getLength()
- Retrieves the buffer length.
getData
public java.lang.String getData()
- Retrieves the buffer's data (const version).