Class BarrageProtoUtil.ObjectInputStreamAdapter
java.lang.Object
java.io.InputStream
io.deephaven.extensions.barrage.util.BarrageProtoUtil.ObjectInputStreamAdapter
- All Implemented Interfaces:
Closeable,AutoCloseable
- Enclosing class:
- BarrageProtoUtil
-
Constructor Summary
ConstructorsConstructorDescriptionObjectInputStreamAdapter(com.google.protobuf.CodedInputStream stream, int size) -
Method Summary
Methods inherited from class java.io.InputStream
mark, markSupported, nullInputStream, read, readAllBytes, readNBytes, readNBytes, reset, skipNBytes, transferTo
-
Constructor Details
-
ObjectInputStreamAdapter
public ObjectInputStreamAdapter(com.google.protobuf.CodedInputStream stream, int size)
-
-
Method Details
-
read
- Specified by:
readin classInputStream- Throws:
IOException
-
read
public int read(@NotNull @org.jetbrains.annotations.NotNull byte[] b, int off, int len) throws IOException - Overrides:
readin classInputStream- Throws:
IOException
-
skip
- Overrides:
skipin classInputStream- Throws:
IOException
-
available
public int available()- Overrides:
availablein classInputStream
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classInputStream- Throws:
IOException
-