forwardCopyTo Method (Byte[])   Table of ContentDispose Method forward
FlatMessage.CopyTo Method (Byte[], Int32)
Copy serialized message contents to an external buffer starting from offset.

Namespace:  FIXForge.NET.FIX
Assembly:  FIXForge.NET.FIX.Engine-net-4.8_x64 (in FIXForge.NET.FIX.Engine-net-4.8_x64.dll) Version: 4.12.0.0
Syntax
C#
public int CopyTo(
	byte[] buffer,
	int offset
)

Parameters

buffer
Type: System.Byte[]
Buffer.
offset
Type: System.Int32
Offset

Return Value

Type: Int32
The number of copied bytes if the given buffer is large enough. Otherwise - a negative number, the absolute value of which is equal to the required size of the buffer.
See Also