All Downloads are FREE. Search and download functionalities are using the official Maven repository.

scalagen.readList.scala Maven / Gradle / Ivy

The newest version!
val _list = _iprot.readListBegin()
if (_list.size == 0) {
  _iprot.readListEnd()
  Nil
} else {
  val _rv = new mutable$ArrayBuffer[{{eltType}}](_list.size)
  var _i = 0
  while (_i < _list.size) {
    _rv += {
  {{#eltReadWriteInfo}}
      {{>readValue}}
  {{/eltReadWriteInfo}}
    }
    _i += 1
  }
  _iprot.readListEnd()
  _rv
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy