Class SizePrefixed
java.lang.Object
io.activej.csp.process.frame.impl.SizePrefixed
- All Implemented Interfaces:
FrameFormat
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreates a decoder which decodes data encoded byBlockEncoderCreates an encoder which transforms input bufs into bufs of encoded data
-
Constructor Details
-
SizePrefixed
public SizePrefixed()
-
-
Method Details
-
createEncoder
Description copied from interface:FrameFormatCreates an encoder which transforms input bufs into bufs of encoded data- Specified by:
createEncoderin interfaceFrameFormat- Returns:
- block encoder
-
createDecoder
Description copied from interface:FrameFormatCreates a decoder which decodes data encoded byBlockEncoder- Specified by:
createDecoderin interfaceFrameFormat- Returns:
- block decoder
-