Byte array CR/LF (de)serializer
Serializes data terminated by CR+LF
Reads data in an InputStream
to a byte[]
; data must be terminated by \r\n
(not included in resulting byte[]
).
Writes a byte[]
to an OutputStream
and adds \r\n
.
Id
Name that uniquely identifies this flow component.
Required
Max message size
The maximum supported message size (in bytes) for this (de)serializer.
Default is 2048 (2 KiB).
To avoid memory exhaustion due to a badly behaved client (one that does not adhere to the protocol of the configured serializer), this (de)serializer imposes a maximum message size. If the size is exceeded by an incoming message, an exception will be thrown. The default maximum message size is 2048 bytes, and can be increased by setting the maxMessageSize property.