CollectionFormat

abstract
class CollectionFormat[S, T](implicit binT: Format[T]) extends Format[S]

A more general LengthEncoded (arrays are no longer collections)

trait Format[S]
trait Writes[S]
trait Reads[S]
class Object
trait Matchable
class Any
class LengthEncoded[S, T]

Value members

Abstract methods

def build(size: Int, ts: Iterator[T]): S
def foreach(s: S)(f: T => Unit): Unit
def size(s: S): Int

Concrete methods

def reads(in: Input): S
def writes(out: Output, ts: S): Unit