Byte array single terminator (de)serializer
Serializes data terminated by a single byte delimiter
Reads data in an InputStream
to a byte[]
; data must be terminated by a single byte (not included in resulting byte[]
).
Writes a byte[]
to an OutputStream
and adds the terminator.
Delimiter
The single byte delimiter that terminates a message.
Enter a byte value by using the (signed) integer representation, i.e. a value between -128
and 127
(inclusive).
Required
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.