Immerse SDK
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

IMessage.CopyPayload

public void CopyPayload(Array destination, int start)

Copy the payload from this message to a buffer

Parameter Description
destination Buffer to copy the payload into
start (Optional) Index in bytes at which to start copying the payload bytes

public void CopyPayload(Array destination, int start, int count)

Copy the payload from this message to a buffer
The destination array must be of a primitive type

Parameter Description
destination Buffer to copy the payload into
start Index in bytes at which to start copying the payload bytes
count How many bytes after the start index to copy