Result

data class Result<T>(bytesRead: Long, value: T)

Result of a byte operation

Parameters

bytesRead

The amount of bytes read

value

The value that was read as a Long

Constructors

Link copied to clipboard
fun <T> Result(bytesRead: Long, value: T)

Properties

Link copied to clipboard
val bytesRead: Long
Link copied to clipboard
val value: T