public interface BIOCallback
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
gets(int len) |
Read string up to the len or CLRLF
|
int |
puts(java.lang.String data) |
Puts string
|
int |
read(byte[] buf) |
Read data
|
int |
write(byte[] buf) |
Write data
|
int write(byte[] buf)
buf
- containing the bytes to write.int read(byte[] buf)
buf
- buffer to store the read bytes.int puts(java.lang.String data)
data
- String to writejava.lang.String gets(int len)
len
- Maximum number of characters to readCopyright © 2000-2019 Apache Software Foundation. All Rights Reserved.