toData

fun <T : Any> Envelope.toData(format: IOFormat<T>): Data<T>

Convert an Envelope to a data via given format. The actual parsing is done lazily.