@NoOffset @Properties(inherit=LinearMath.class) public class btDefaultSerializer extends btSerializer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
btDefaultSerializer() |
btDefaultSerializer(int totalSize,
byte[] buffer) |
btDefaultSerializer(int totalSize,
ByteBuffer buffer) |
btDefaultSerializer(int totalSize,
BytePointer buffer) |
btDefaultSerializer(long size)
Native array allocator.
|
btDefaultSerializer(Pointer p)
Pointer cast constructor.
|
findPointeraddress, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic btDefaultSerializer(Pointer p)
Pointer(Pointer).public btDefaultSerializer(long size)
Pointer.position(long).public btDefaultSerializer(int totalSize,
@Cast(value="unsigned char*")
BytePointer buffer)
public btDefaultSerializer()
public btDefaultSerializer(int totalSize,
@Cast(value="unsigned char*")
ByteBuffer buffer)
public btDefaultSerializer position(long position)
public btDefaultSerializer getPointer(long i)
getPointer in class Pointer@MemberGetter @ByRef public btHashMap_btHashPtr_voidPointer m_skipPointers()
public static int getMemoryDnaSizeInBytes()
@Cast(value="const char*") public static BytePointer getMemoryDna()
public void insertHeader()
public void writeHeader(@Cast(value="unsigned char*") BytePointer buffer)
public void writeHeader(@Cast(value="unsigned char*") ByteBuffer buffer)
public void startSerialization()
startSerialization in class btSerializerpublic void finishSerialization()
finishSerialization in class btSerializerpublic Pointer getUniquePointer(Pointer oldPtr)
getUniquePointer in class btSerializer@Cast(value="const unsigned char*") public BytePointer getBufferPointer()
getBufferPointer in class btSerializerpublic int getCurrentBufferSize()
getCurrentBufferSize in class btSerializerpublic void finalizeChunk(btChunk chunk, @Cast(value="const char*") BytePointer structType, int chunkCode, Pointer oldPtr)
finalizeChunk in class btSerializerpublic void finalizeChunk(btChunk chunk, String structType, int chunkCode, Pointer oldPtr)
finalizeChunk in class btSerializer@Cast(value="unsigned char*") public BytePointer internalAlloc(@Cast(value="size_t") long size)
@Name(value="allocate") public btChunk _allocate(@Cast(value="size_t") long size, int numElements)
_allocate in class btSerializer@Cast(value="const char*") public BytePointer findNameForPointer(@Const Pointer ptr)
findNameForPointer in class btSerializerpublic void registerNameForPointer(@Const Pointer ptr, @Cast(value="const char*") BytePointer name)
registerNameForPointer in class btSerializerpublic void registerNameForPointer(@Const Pointer ptr, String name)
registerNameForPointer in class btSerializerpublic void serializeName(@Cast(value="const char*") BytePointer name)
serializeName in class btSerializerpublic void serializeName(String name)
serializeName in class btSerializerpublic int getSerializationFlags()
getSerializationFlags in class btSerializerpublic void setSerializationFlags(int flags)
setSerializationFlags in class btSerializerpublic int getNumChunks()
getNumChunks in class btSerializer@Const public btChunk getChunk(int chunkIndex)
getChunk in class btSerializerCopyright © 2024. All rights reserved.