Class Identity
java.lang.Object
io.activej.csp.process.frame.impl.Identity
- All Implemented Interfaces:
FrameFormat
-
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
-
Identity
public Identity()
-
-
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
-