Result

fun <T> Result(bytesRead: Long, value: T)

Parameters

bytesRead

The amount of bytes read

value

The value that was read as a Long