xserial.attribute

Undocumented in source.

Members

Enums

BigEndian
enum BigEndian

Indicates the endianness for the type and its subtypes.

DecodeOnly
enum DecodeOnly

Excludes the field from encoding, decode only.

EncodeOnly
enum EncodeOnly

Excludes the field from decoding, encode only.

Exclude
enum Exclude

Excludes the field from both encoding and decoding.

LittleEndian
enum LittleEndian

Indicates the endianness for the type and its subtypes.

NoLength
enum NoLength

Indicates that the array has no length. It should only be used as last field in the class/struct.

Var
enum Var

Encodes and decodes as a Google varint.

Functions

EndianLength
LengthImpl EndianLength(Endian endianness)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

Condition
struct Condition

Only encode/decode the field when the condition is met. The condition is placed inside an if statement and can access the variables and functions of the class/struct (without this).

Custom
struct Custom(T)
Undocumented in source.
LengthImpl
struct LengthImpl
Undocumented in source.

Templates

Length
template Length(T)
Undocumented in source.
Length
template Length(T)
Undocumented in source.

Meta