Click or drag to resize
EmberReaderCopy Method
Reads the current data value and writes it to writer.

Namespace: Lawo.EmberPlusSharp.Ember
Assembly: Lawo.EmberPlusSharp (in Lawo.EmberPlusSharp.dll) Version: 1.4.1707.27006
Syntax
C#
public Object Copy(
	EmberWriter writer
)

Parameters

writer
Type: Lawo.EmberPlusSharp.EmberEmberWriter

Return Value

Type: Object
The contents of the of the data value if it is primitive; otherwise, null.
Exceptions
Remarks

If the EmberReader instance is currently placed on the start of a container, then skips to the end of the container, such that calling Read afterwards will place the reader on either a sibling of the container, the end of the parent container or the end of the stream.

This method has no effect, if the reader is currently placed on a data value with primitive encoding (the next call to Read will skip possibly unread contents anyway).

Bibliography
See Also