readVec

fun <T> SyncStream.readVec(callback: (Int) -> T): List<T>