readUByte
Removes an unsigned byte from this source and returns it.
Throws
when there are no more bytes to read.
when the source is closed.
Samples
import kotlinx.io.*
import kotlin.test.*
fun main() {
//sampleStart
val buffer = Buffer()
buffer.write(byteArrayOf(-1))
assertEquals(255U, buffer.readUByte())
//sampleEnd
}