StreamCallbacks
Namespace: UAssetAPI
public static class StreamCallbacks
Inheritance Object → StreamCallbacks
Methods
Create(Stream)
public static StreamCallbacks Create(Stream stream)
Parameters
stream
Stream
Returns
Free(IntPtr)
public static void Free(IntPtr streamCtx)
Parameters
streamCtx
IntPtr
ReadCallback(IntPtr, IntPtr, UInt64)
public static long ReadCallback(IntPtr context, IntPtr buffer, ulong bufferLen)
Parameters
context
IntPtr
buffer
IntPtr
bufferLen
UInt64
Returns
WriteCallback(IntPtr, IntPtr, Int32)
public static int WriteCallback(IntPtr context, IntPtr buffer, int bufferLen)
Parameters
context
IntPtr
buffer
IntPtr
bufferLen
Int32
Returns
SeekCallback(IntPtr, Int64, Int32)
public static ulong SeekCallback(IntPtr context, long offset, int origin)
Parameters
context
IntPtr
offset
Int64
origin
Int32
Returns
FlushCallback(IntPtr)
public static int FlushCallback(IntPtr context)
Parameters
context
IntPtr