示例#1
0
 public mapEncoder(encoderFunc elemEnc = default)
 {
     this.elemEnc = elemEnc;
 }
示例#2
0
 public field(@string name = default, slice <byte> nameBytes = default, Func <slice <byte>, slice <byte>, bool> equalFold = default, @string nameNonEsc = default, @string nameEscHTML = default, bool tag = default, slice <long> index = default, reflect.Type typ = default, bool omitEmpty = default, bool quoted = default, encoderFunc encoder = default)
 {
     this.name        = name;
     this.nameBytes   = nameBytes;
     this.equalFold   = equalFold;
     this.nameNonEsc  = nameNonEsc;
     this.nameEscHTML = nameEscHTML;
     this.tag         = tag;
     this.index       = index;
     this.typ         = typ;
     this.omitEmpty   = omitEmpty;
     this.quoted      = quoted;
     this.encoder     = encoder;
 }
示例#3
0
 public sliceEncoder(encoderFunc arrayEnc = default)
 {
     this.arrayEnc = arrayEnc;
 }
示例#4
0
 public condAddrEncoder(encoderFunc canAddrEnc = default, encoderFunc elseEnc = default)
 {
     this.canAddrEnc = canAddrEnc;
     this.elseEnc    = elseEnc;
 }
示例#5
0
 public arrayEncoder(encoderFunc elemEnc = default)
 {
     this.elemEnc = elemEnc;
 }