Class FrameCodec
java.lang.Object
dev.moonbridge.backendchannel.FrameCodec
Length-prefixed frame I/O. The length and frame type are both included in the transmitted frame.
-
Method Summary
Modifier and TypeMethodDescriptionstatic byte[]read(DataInputStream input) static voidwrite(DataOutputStream output, byte[] frame)
-
Method Details
-
read
- Throws:
IOException
-
write
- Throws:
IOException
-