Package jadex.binary

Class DataOutputEncodingContext

    • Field Detail

      • dato

        protected java.io.DataOutput dato
        The binary output
    • Constructor Detail

      • DataOutputEncodingContext

        public DataOutputEncodingContext​(java.io.DataOutput dato,
                                         java.lang.Object rootobject,
                                         java.lang.Object usercontext,
                                         java.util.List<ITraverseProcessor> preprocessors,
                                         java.lang.ClassLoader classloader,
                                         SerializationConfig config)
        Creates an encoding context.
        Parameters:
        usercontext - A user context.
        preprocessors - The preprocessors.
        classloader - The classloader.
    • Method Detail

      • writeByte

        public void writeByte​(byte b)
        Writes a byte.
        Parameters:
        b - The byte.
      • write

        public void write​(byte[] b)
        Writes a byte array, appending it to the buffer.
        Parameters:
        b - The byte array.