Table of Contents

TomlByteArrayHandling Enum

Definition

Namespace
Bodu.Text.Toml
Assembly
Bodu.Text.Toml.dll
Package
Bodu.Text.Toml 1.0.0
Source
TomlByteArrayHandling.cs

Specifies how a byte array is represented in TOML, which has no native binary type.

public enum TomlByteArrayHandling
Extension Methods

Fields

IntegerArray = 0

The byte array is written as a TOML array of integers, one integer per byte.

Base64String = 1

The byte array is written as a Base64-encoded TOML basic string.

Remarks

The setting controls only how a byte array is written; on read the serializer accepts either form, so a document produced under one setting can be read under either.

Applies to

ProductVersions
.NET8, 10