Class NetworkByteBufInputStream
java.lang.Object
java.io.InputStream
io.netty.buffer.ByteBufInputStream
net.raphimc.viabedrock.api.io.LittleEndianByteBufInputStream
net.raphimc.viabedrock.api.io.NetworkByteBufInputStream
- All Implemented Interfaces:
Closeable, DataInput, AutoCloseable
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class LittleEndianByteBufInputStream
readChar, readDouble, readFloat, readShort, readUnsignedShortMethods inherited from class io.netty.buffer.ByteBufInputStream
available, close, mark, markSupported, read, read, readBoolean, readByte, readBytes, readFully, readFully, readLine, readUnsignedByte, reset, skip, skipBytesMethods inherited from class InputStream
nullInputStream, read, readAllBytes, readNBytes, readNBytes, skipNBytes, transferTo
-
Constructor Details
-
NetworkByteBufInputStream
public NetworkByteBufInputStream(io.netty.buffer.ByteBuf buffer)
-
-
Method Details
-
readInt
- Specified by:
readIntin interfaceDataInput- Overrides:
readIntin classLittleEndianByteBufInputStream- Throws:
IOException
-
readLong
- Specified by:
readLongin interfaceDataInput- Overrides:
readLongin classLittleEndianByteBufInputStream- Throws:
IOException
-
readUTF
- Specified by:
readUTFin interfaceDataInput- Overrides:
readUTFin classLittleEndianByteBufInputStream- Throws:
IOException
-