delist

fun <T> delist(Tfactory: (BCHserialized) -> T): MutableList<T>

Deserialize a list of some object. You must pass a factory function that takes a buffer and returns an instance of the object (consuming some of the buffer)