Class ByteArrayCrLfSerializer

All Implemented Interfaces:
Aware, ApplicationEventPublisherAware, Deserializer<byte[]>, Serializer<byte[]>

public class ByteArrayCrLfSerializer extends AbstractPooledBufferByteArraySerializer
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.
Since:
2.0
Author:
Gary Russell, Artem Bilan
  • Field Details

  • Constructor Details

    • ByteArrayCrLfSerializer

      public ByteArrayCrLfSerializer()
  • Method Details