Struct UnsafeAppendBuffer.Reader
Syntax
Constructors
Reader(Void*, Int32)
Declaration
public Reader(void *buffer, int size)
Parameters
Type |
Name |
Description |
Void* |
buffer |
|
Int32 |
size |
|
Reader(ref UnsafeAppendBuffer)
Declaration
public Reader(ref UnsafeAppendBuffer buffer)
Parameters
Fields
Offset
Declaration
Field Value
Ptr
Declaration
public readonly byte *Ptr
Field Value
Size
Declaration
Field Value
Properties
EndOfBuffer
Declaration
public bool EndOfBuffer { get; }
Property Value
Methods
ReadNext(Int32)
Declaration
public void *ReadNext(int structSize)
Parameters
Type |
Name |
Description |
Int32 |
structSize |
|
Returns
ReadNext(out String)
Declaration
public void ReadNext(out string value)
Parameters
Type |
Name |
Description |
String |
value |
|
ReadNext<T>()
Declaration
public T ReadNext<T>()
where T : struct
Returns
Type Parameters
ReadNext<T>(out T)
Declaration
public void ReadNext<T>(out T value)
where T : struct
Parameters
Type |
Name |
Description |
T |
value |
|
Type Parameters
ReadNext<T>(out NativeArray<T>, Allocator)
Declaration
public void ReadNext<T>(out NativeArray<T> value, Allocator allocator)
where T : struct
Parameters
Type |
Name |
Description |
NativeArray<T> |
value |
|
Allocator |
allocator |
|
Type Parameters
ReadNextArray<T>(out Int32)
Declaration
public void *ReadNextArray<T>(out int length)
where T : struct
Parameters
Type |
Name |
Description |
Int32 |
length |
|
Returns
Type Parameters
Extension Methods