Class UARTOutputStream

    • Constructor Detail

      • UARTOutputStream

        public UARTOutputStream()
    • Method Detail

      • write

        public void write​(int b)
        Description copied from class: OutputStream
        Writes a single byte to this stream. Only the least significant byte of the integer oneByte is written to the stream.
        Specified by:
        write in class OutputStream
        Parameters:
        b - the byte to be written.
      • write

        public void write​(byte[] buffer)
        Description copied from class: OutputStream
        Equivalent to write(buffer, 0, buffer.length).
        Overrides:
        write in class OutputStream
        Parameters:
        buffer - the buffer to be written.
      • write

        public void write​(byte[] buffer,
                          int off,
                          int count)
        Description copied from class: OutputStream
        Writes count bytes from the byte array buffer starting at position offset to this stream.
        Overrides:
        write in class OutputStream
        Parameters:
        buffer - the buffer to be written.
        off - the start position in buffer from where to get bytes.
        count - the number of bytes from buffer to write to this stream.