public interface DataPipe
extends java.io.Closeable
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
DataPipe |
flush() |
java.io.InputStream |
getInputStream() |
java.io.OutputStream |
getOutputStream() |
default byte |
read() |
boolean |
readBoolean() |
byte |
readByte() |
char |
readChar() |
double |
readDouble() |
float |
readFloat() |
DataPipe |
readFully(byte[] b) |
DataPipe |
readFully(byte[] b,
int off,
int len) |
int |
readInt() |
long |
readLong() |
short |
readShort() |
java.lang.String |
readString() |
int |
readUnsignedByte() |
int |
readUnsignedShort() |
int |
skipBytes(int n) |
default DataPipe |
write(int v) |
DataPipe |
writeBoolean(boolean v) |
DataPipe |
writeByte(int b) |
DataPipe |
writeBytes(byte[] b) |
DataPipe |
writeBytes(byte[] b,
int off,
int len) |
DataPipe |
writeBytes(java.lang.String s) |
DataPipe |
writeChar(int v) |
DataPipe |
writeChars(java.lang.String s) |
DataPipe |
writeDouble(double v) |
DataPipe |
writeFloat(float v) |
DataPipe |
writeInt(int v) |
DataPipe |
writeLong(long v) |
DataPipe |
writeShort(int v) |
DataPipe |
writeString(java.lang.String s) |
@NotNull DataPipe flush() throws java.io.IOException
java.io.IOException@NotNull java.io.InputStream getInputStream()
@NotNull java.io.OutputStream getOutputStream()
boolean readBoolean()
throws java.io.IOException
java.io.IOExceptionbyte readByte()
throws java.io.IOException
java.io.IOExceptionchar readChar()
throws java.io.IOException
java.io.IOExceptiondouble readDouble()
throws java.io.IOException
java.io.IOExceptionfloat readFloat()
throws java.io.IOException
java.io.IOException@NotNull DataPipe readFully(@NotNull byte[] b) throws java.io.IOException
java.io.IOException@NotNull DataPipe readFully(@NotNull byte[] b, int off, int len) throws java.io.IOException
java.io.IOExceptionint readInt()
throws java.io.IOException
java.io.IOExceptionlong readLong()
throws java.io.IOException
java.io.IOExceptionshort readShort()
throws java.io.IOException
java.io.IOException@NotNull
java.lang.String readString()
throws java.io.IOException
java.io.IOExceptionint readUnsignedByte()
throws java.io.IOException
java.io.IOExceptionint readUnsignedShort()
throws java.io.IOException
java.io.IOExceptionint skipBytes(int n)
throws java.io.IOException
java.io.IOException@NotNull DataPipe writeBoolean(boolean v) throws java.io.IOException
java.io.IOException@NotNull DataPipe writeByte(int b) throws java.io.IOException
java.io.IOException@NotNull DataPipe writeBytes(@NotNull byte[] b) throws java.io.IOException
java.io.IOException@NotNull DataPipe writeBytes(@NotNull byte[] b, int off, int len) throws java.io.IOException
java.io.IOException@NotNull DataPipe writeBytes(@NotNull java.lang.String s) throws java.io.IOException
java.io.IOException@NotNull DataPipe writeChar(int v) throws java.io.IOException
java.io.IOException@NotNull DataPipe writeChars(@NotNull java.lang.String s) throws java.io.IOException
java.io.IOException@NotNull DataPipe writeDouble(double v) throws java.io.IOException
java.io.IOException@NotNull DataPipe writeFloat(float v) throws java.io.IOException
java.io.IOException@NotNull DataPipe writeInt(int v) throws java.io.IOException
java.io.IOException@NotNull DataPipe writeLong(long v) throws java.io.IOException
java.io.IOException@NotNull DataPipe writeShort(int v) throws java.io.IOException
java.io.IOException@NotNull DataPipe writeString(@NotNull java.lang.String s) throws java.io.IOException
java.io.IOExceptionvoid close()
throws java.io.IOException
close in interface java.lang.AutoCloseableclose in interface java.io.Closeablejava.io.IOExceptiondefault byte read()
throws java.io.IOException
java.io.IOException@NotNull default DataPipe write(int v) throws java.io.IOException
java.io.IOException