SerialInputStream

open class SerialInputStream(val handle: Int) : InputStream

Input stream for the serial port. Passes back the status of the control lines in the upper bits of read(), and thus must be parsed properly.

Inheritors

Constructors

Link copied to clipboard
constructor(handle: Int)

Properties

Link copied to clipboard
val handle: Int

Functions

Link copied to clipboard
open override fun available(): Int
Link copied to clipboard
open override fun close()
Link copied to clipboard
open fun mark(p0: Int)
Link copied to clipboard
Link copied to clipboard
open override fun read(): Int
open fun read(p0: ByteArray): Int
open fun read(p0: ByteArray, p1: Int, p2: Int): Int
Link copied to clipboard
Link copied to clipboard
open fun readNBytes(p0: Int): ByteArray
open fun readNBytes(p0: ByteArray, p1: Int, p2: Int): Int
Link copied to clipboard
open fun reset()
Link copied to clipboard
open fun skip(p0: Long): Long
Link copied to clipboard
open fun skipNBytes(p0: Long)
Link copied to clipboard