Click or drag to resize

OriginAnyParserReadObjectAsString Method

Reads a fixed length string. If the size is given as greater than 0, then also the delimiting newline char (0x0A) is read. Note that if a size of 0 is provided, then the delimiting newline character is not read!

Namespace: Altaxo.Serialization.Origin
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public string ReadObjectAsString(
	int size,
	bool readNewlineDelimiterInAnyCase = false
)

Parameters

size  Int32
The size of the string.
readNewlineDelimiterInAnyCase  Boolean  (Optional)
If true, the newline delimiter is also read if the size argument is 0.

Return Value

String
The string that was read from the stream.
See Also