Class WffBinaryMessageOutputStreamer



  • public class WffBinaryMessageOutputStreamer
    extends java.lang.Object
    The default binary message version is 1.
    Since:
    1.1.2
    • Constructor Detail

      • WffBinaryMessageOutputStreamer

        public WffBinaryMessageOutputStreamer​(java.io.OutputStream os)
        Parameters:
        os - the output stream object to which the wff binary message bytes will be written
        Since:
        1.0.0
      • WffBinaryMessageOutputStreamer

        public WffBinaryMessageOutputStreamer​(java.io.OutputStream os,
                                              WffBinaryMessageVersion version)
        Parameters:
        os - the output stream object to which the wff binary message bytes will be written
        Since:
        1.1.2
    • Method Detail

      • write

        public int write​(NameValue nameValue)
                  throws java.io.IOException
        Parameters:
        nameValue - the nameValue to be written to the output stream
        Returns:
        the number of bytes written to the output stream
        Throws:
        java.io.IOException
        Since:
        1.1.2
      • setChunkSize

        public void setChunkSize​(int chunkSize)
        Parameters:
        chunkSize - the wff message bytes will be written maximum with the given chuck size.
        Since:
        1.1.2
      • getChunkSize

        public int getChunkSize​()
        Returns:
        Since:
        1.1.2