@Properties(inherit=LinearMath.class) public class btSerializer extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
btSerializer(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
btChunk |
_allocate(long size,
int numElements) |
void |
finalizeChunk(btChunk chunk,
BytePointer structType,
int chunkCode,
Pointer oldPtr) |
void |
finalizeChunk(btChunk chunk,
String structType,
int chunkCode,
Pointer oldPtr) |
BytePointer |
findNameForPointer(Pointer ptr) |
Pointer |
findPointer(Pointer oldPtr) |
void |
finishSerialization() |
BytePointer |
getBufferPointer() |
btChunk |
getChunk(int chunkIndex) |
int |
getCurrentBufferSize() |
int |
getNumChunks() |
int |
getSerializationFlags() |
Pointer |
getUniquePointer(Pointer oldPtr) |
void |
registerNameForPointer(Pointer ptr,
BytePointer name) |
void |
registerNameForPointer(Pointer ptr,
String name) |
void |
serializeName(BytePointer ptr) |
void |
serializeName(String ptr) |
void |
setSerializationFlags(int flags) |
void |
startSerialization() |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic btSerializer(Pointer p)
Pointer(Pointer).@Cast(value="const unsigned char*") public BytePointer getBufferPointer()
public int getCurrentBufferSize()
@Name(value="allocate") public btChunk _allocate(@Cast(value="size_t") long size, int numElements)
public void finalizeChunk(btChunk chunk, @Cast(value="const char*") BytePointer structType, int chunkCode, Pointer oldPtr)
public void finalizeChunk(btChunk chunk, String structType, int chunkCode, Pointer oldPtr)
public void startSerialization()
public void finishSerialization()
@Cast(value="const char*") public BytePointer findNameForPointer(@Const Pointer ptr)
public void registerNameForPointer(@Const Pointer ptr, @Cast(value="const char*") BytePointer name)
public void serializeName(@Cast(value="const char*") BytePointer ptr)
public void serializeName(String ptr)
public int getSerializationFlags()
public void setSerializationFlags(int flags)
public int getNumChunks()
Copyright © 2024. All rights reserved.