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
fmtstringSpecification of each array element.See @ref format_spec "format specification"
vecnintPointer to the destination array.
maxCountlongNumber of elements to read. If it is greater than number of remaining elements then all of them will be read.
Returns
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
fmtstringSpecification of each array element.See @ref format_spec "format specification"
vecbyte[]Output array the decoded elements are written into, overwritten in place.
maxCountlongNumber of elements to read. If it is greater than number of remaining elements then all of them will be read.