Table of Contents

Enum FileStorage.Modes

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

File storage mode

[Flags]
[SuppressMessage("Microsoft.Design", "CA1008: Enums should have zero value")]
[SuppressMessage("Microsoft.Design", "CA1069: Enums should not have duplicate values")]
public enum FileStorage.Modes

Fields

Append = 2

The storage is open for appending

Base64 = 64

flag, write rawdata in Base64 by default. (consider using WRITE_BASE64)

FormatAuto = 0

flag, auto format

FormatXml = 8

flag, XML format

FormatYaml = 16

flag, YAML format

Memory = 4

flag, read data from source or write data to the internal buffer (which is returned by FileStorage::release)

Read = 0

The storage is open for reading

Write = 1

The storage is open for writing

WriteBase64 = Write | Base64

flag, enable both WRITE and BASE64