Package lejos.hardware.device
Class UART.UARTOutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- lejos.hardware.device.UART.UARTOutputStream
-
- All Implemented Interfaces:
java.io.Closeable,java.io.Flushable,java.lang.AutoCloseable
- Enclosing class:
- UART
protected class UART.UARTOutputStream extends java.io.OutputStreaminternal class that provides an OutputStream interface to a UART- Author:
- andy
-
-
Field Summary
Fields Modifier and Type Field Description protected byte[]buffer
-
Constructor Summary
Constructors Modifier Constructor Description protectedUARTOutputStream()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidwrite(byte[] b, int off, int len)voidwrite(int arg0)
-
-
-
Method Detail
-
write
public void write(int arg0) throws java.io.IOException- Specified by:
writein classjava.io.OutputStream- Throws:
java.io.IOException
-
write
public void write(byte[] b, int off, int len) throws java.io.IOException- Overrides:
writein classjava.io.OutputStream- Throws:
java.io.IOException
-
-