StreamCallbacks

Namespace: UAssetAPI

public static class StreamCallbacks

Inheritance ObjectStreamCallbacks

Methods

Create(Stream)

public static StreamCallbacks Create(Stream stream)

Parameters

stream Stream

Returns

StreamCallbacks

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

Int64

WriteCallback(IntPtr, IntPtr, Int32)

public static int WriteCallback(IntPtr context, IntPtr buffer, int bufferLen)

Parameters

context IntPtr

buffer IntPtr

bufferLen Int32

Returns

Int32

SeekCallback(IntPtr, Int64, Int32)

public static ulong SeekCallback(IntPtr context, long offset, int origin)

Parameters

context IntPtr

offset Int64

origin Int32

Returns

UInt64

FlushCallback(IntPtr)

public static int FlushCallback(IntPtr context)

Parameters

context IntPtr

Returns

Int32