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.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.io.OutputStream
PortInterface.close()
public void write(byte[] b) throws java.io.IOException
write
in class java.io.OutputStream
java.io.IOException
PortInterface.write(byte[])
public void write(byte[] b, int offset, int length) throws java.io.IOException
write
in class java.io.OutputStream
java.io.IOException
PortInterface.write(byte[], int, int)
public void write(int b) throws java.io.IOException
write
in class java.io.OutputStream
java.io.IOException
PortInterface.write(byte)
Copyright © 1999-2025 ErgoTech Systems, Inc. All Rights Reserved.