Table of Contents

Method ReadRaw

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

ReadRaw(string, nint, long)

Reads node elements to the buffer with the specified format. Usually it is more convenient to use operator >> instead of this method.

public FileNodeIterator ReadRaw(string fmt, nint vec, long maxCount = 2147483647)

Parameters

fmt string

Specification of each array element.See @ref format_spec "format specification"

vec nint

Pointer to the destination array.

maxCount long

Number of elements to read. If it is greater than number of remaining elements then all of them will be read.

Returns

FileNodeIterator

ReadRaw(string, byte[], long)

Reads node elements to the buffer with the specified format. Usually it is more convenient to use operator >> instead of this method.

public FileNodeIterator ReadRaw(string fmt, byte[] vec, long maxCount = 2147483647)

Parameters

fmt string

Specification of each array element.See @ref format_spec "format specification"

vec byte[]

Output array the decoded elements are written into, overwritten in place.

maxCount long

Number of elements to read. If it is greater than number of remaining elements then all of them will be read.

Returns

FileNodeIterator