Skip to main content

BitWriter.GetMoreData

A delegate in Alta.Serialization.Runtime, Alta.Serialization.

Callback a BitWriter calls when its buffer is full to get a bigger one. Called with null at start to get the first buffer. Without it, a full buffer logs a fatal error and corrupts the write.

Constructors​

MemberWhat it is
GetMoreData(object object, IntPtr method)Made by the compiler when you assign a method to this delegate; you don't call it directly.

Methods​

MemberWhat it is
virtual IAsyncResult BeginInvoke(uint[] data, ref uint wordIndex, AsyncCallback callback, object object)Starts the call on another thread; not supported in Unity, so use Invoke.
virtual uint[] EndInvoke(ref uint wordIndex, IAsyncResult result)Waits for a call started with BeginInvoke; not supported in Unity.
virtual uint[] Invoke(uint[] data, ref uint wordIndex)Calls every method on this delegate with these arguments.

Used in​

Members of other types that take, return or hold a GetMoreData: