PackerCompatibilityOptions Enumeration |
Defines compatibility options for
Packer.
Namespace: MsgPackAssembly: MsgPack (in MsgPack.dll) Version: 0.6.0
Syntax [FlagsAttribute]
public enum PackerCompatibilityOptions
<FlagsAttribute>
Public Enumeration PackerCompatibilityOptions
[FlagsAttribute]
public enum class PackerCompatibilityOptions
[<FlagsAttribute>]
type PackerCompatibilityOptions
Members
| Member name | Value | Description |
---|
| None | 0 |
No compatibility options. Packers use newest behavior.
|
| PackBinaryAsRaw | 1 |
Packs byte array as raw(str) value, and also prohibits usage of str8 type for legacy unpacker implementations.
|
| ProhibitExtendedTypeObjects | 2 |
Prohibits usage of any ext types for legacy unpacker implementations.
|
| Classic | 3 | Packers should be use classic behavior. That is, do not use str8 and any ext types, and byte arrays must be packed as raw.
|
See Also