| Access | Constructor and Description |
|---|---|
| public | BinaryIOWrapper(BufferedIOBase bufferedIO)
Contruct a TextIOBase in binary mode, wrapping the given BufferedIOBase. |
| Modifier and Type | Method and Description |
|---|---|
| public String | read(int
the number of bytes to read size)Overrides org. Read and return up to size bytes, contained in a String. |
| public String | |
| public String | readline(int
the number of bytes to read size)Overrides org. Read until size, newline or EOF. |
| public int | write(String
a String value buf)Overrides org. Write the given String to the IO stream. |
| BinaryIOWrapper | back to summary |
|---|---|
| public BinaryIOWrapper(BufferedIOBase bufferedIO) Contruct a TextIOBase in binary mode, wrapping the given BufferedIOBase. | |
| read | back to summary |
|---|---|
| public String read(int size) Overrides org. Doc from org. Read and return up to size bytes, contained in a String. Returns an empty String on EOF | |
| readall | back to summary |
|---|---|
| public String readall() Overrides org. Doc from org. Read until EOF. | |
| readline | back to summary |
|---|---|
| public String readline(int size) Overrides org. Doc from org. Read until size, newline or EOF. Returns an empty string if EOF is hit immediately. | |
| write | back to summary |
|---|---|
| public int write(String buf) Overrides org. Doc from org. Write the given String to the IO stream. Returns the number of characters written. | |