Struct DataStreamReader.Context
The context is the current index to the data buffer used by the reader. This can be used when the reader is used with the job system but normally the same context is passed in for each read invocation so the correct read index is used:
var dataReader = new DataStreamReader(someDataWriter, 0, someDataWriter.Length);
var ctx = default(DataStreamReader.Context);
var someInt = dataReader.ReadInt(ref ctx);
var someOtherInt = dataReader.ReadInt(ref ctx);
Namespace: Unity.Networking.Transport
Syntax
public struct Context