Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Optional attributes would be passed with var-arg parameters at the end. 

Code Block

     // simple Fall
    lalala = readOptionalField("lalala",  dataReaderUnsignedInt( ....), something == true)

    // Enum Fall
    lalala = readOptionalField("lalala", enumReader(TypeOfHurz.class::enumForValue, dataReaderUnsignedIntdataReaderUnsignedIntCreatorDingels( ... readBuffer ....)),  something == true, withAdditonasdl(), withEncoding(), withFickiciy())

    // Complex Fall
    lalala = readOptionalField("lalala", complexTypeReader((TypeOfHurz.class)->TypeOfHurz.staticParseIwas(readBuffer, asdasdasdasd, asdasd), readBuffer),  something == true)