readUnsignedByte

fun readUnsignedByte(): Int

Reads an unsigned 8-bit value (0..255) from the current position and advances the file pointer by 1. Throws SmbEndOfFileException if the end of the file has been reached.