public class PortOutputStream
extends java.io.OutputStream
| Constructor and Description |
|---|
PortOutputStream(PortInterface port) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the port.
|
void |
write(byte[] b)
Write a byte array to the stream.
|
void |
write(byte[] b,
int offset,
int length)
Write a byte array to the stream.
|
void |
write(int b)
Write a byte (int) to the stream.
|
public PortOutputStream(PortInterface port)
public void close()
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.OutputStreamPortInterface.close()public void write(byte[] b)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOExceptionPortInterface.write(byte[])public void write(byte[] b,
int offset,
int length)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOExceptionPortInterface.write(byte[], int, int)public void write(int b)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOExceptionPortInterface.write(byte)Copyright © 1999-2025 ErgoTech Systems, Inc. All Rights Reserved.