Class ByteArrayCrLfSerializer

All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.context.ApplicationEventPublisherAware, org.springframework.core.serializer.Deserializer<byte[]>, org.springframework.core.serializer.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
  • Field Details

  • Constructor Details

    • ByteArrayCrLfSerializer

      public ByteArrayCrLfSerializer()
  • Method Details