- All Known Implementing Classes:
ChunkAwareByteBufOutput
public interface PackOutput
This is where
PackStream
writes its output to.-
Method Summary
Modifier and TypeMethodDescriptionwriteByte
(byte value) Produce a single bytewriteBytes
(byte[] data) Produce binary datawriteDouble
(double value) Produce an 8-byte IEEE 754 "double format" floating-point numberwriteInt
(int value) Produce a 4-byte signed integerwriteLong
(long value) Produce an 8-byte signed integerwriteShort
(short value) Produce a 4-byte signed integer
-
Method Details
-
writeByte
Produce a single byte- Throws:
IOException
-
writeBytes
Produce binary data- Throws:
IOException
-
writeShort
Produce a 4-byte signed integer- Throws:
IOException
-
writeInt
Produce a 4-byte signed integer- Throws:
IOException
-
writeLong
Produce an 8-byte signed integer- Throws:
IOException
-
writeDouble
Produce an 8-byte IEEE 754 "double format" floating-point number- Throws:
IOException
-