ISupportBinaryImageSpanTryParseBinaryImage Method

Attempts to parse this object's state from the specified source span.

Definition

Namespace: Gemstone.IO.Parsing
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.159 -- Release Build+a612c25bc0e1c87e5766544ec4650d2ebcfddcf4
bool TryParseBinaryImage(
	ReadOnlySpan<byte> source,
	out int consumed
)

Parameters

source  ReadOnlySpanByte
The span from which the binary image will be parsed.
consumed  Int32
When this method returns, contains the number of bytes consumed from source if the parsing was successful; otherwise, 0.

Return Value

Boolean
true if the binary image was successfully parsed from source; otherwise, false if the source span is too small.

See Also