ISupportBinaryImageSpanTryParseBinaryImage Method
Attempts to parse this object's state from the specified source span.
Namespace: Gemstone.IO.ParsingAssembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.165 -- Release Build+e14d337b173ad33e50be6747ce5b02f477f99484
bool TryParseBinaryImage(
ReadOnlySpan<byte> source,
out int consumed
)
Function TryParseBinaryImage (
source As ReadOnlySpan(Of Byte),
<OutAttribute> ByRef consumed As Integer
) As Boolean
bool TryParseBinaryImage(
ReadOnlySpan<unsigned char> source,
[OutAttribute] int% consumed
)
function TryParseBinaryImage(source, consumed);
- 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.
Booleantrue if the binary image was successfully parsed from
source;
otherwise,
false if the
source span is too small.