Package physx.extensions
Class PxDefaultMemoryOutputStream
- java.lang.Object
-
- physx.NativeObject
-
- physx.common.PxOutputStream
-
- physx.extensions.PxDefaultMemoryOutputStream
-
public class PxDefaultMemoryOutputStream extends PxOutputStream
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class physx.NativeObject
NativeObject.Allocator<T>
-
-
Field Summary
-
Fields inherited from class physx.NativeObject
address, isExternallyAllocated
-
-
Constructor Summary
Constructors Modifier Constructor Description PxDefaultMemoryOutputStream()protectedPxDefaultMemoryOutputStream(long address)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddestroy()NativeObjectgetData()intgetSize()static PxDefaultMemoryOutputStreamwrapPointer(long address)voidwrite(NativeObject src, int count)-
Methods inherited from class physx.NativeObject
checkNotNull, equals, getAddress, hashCode
-
-
-
-
Method Detail
-
wrapPointer
public static PxDefaultMemoryOutputStream wrapPointer(long address)
-
destroy
public void destroy()
- Overrides:
destroyin classPxOutputStream
-
write
public void write(NativeObject src, int count)
- Parameters:
src- WebIDL type: VoidPtrcount- WebIDL type: unsigned long
-
getSize
public int getSize()
- Returns:
- WebIDL type: unsigned long
-
getData
public NativeObject getData()
- Returns:
- WebIDL type: VoidPtr
-
-