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
ConstructorDescriptionObjectInputStreamAdapter
(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:
read
in classInputStream
- Throws:
IOException
-
read
public int read(@NotNull @org.jetbrains.annotations.NotNull byte[] b, int off, int len) throws IOException - Overrides:
read
in classInputStream
- Throws:
IOException
-
skip
- Overrides:
skip
in classInputStream
- Throws:
IOException
-
available
public int available()- Overrides:
available
in classInputStream
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classInputStream
- Throws:
IOException
-