java/proto/src/main/java/com/pravala/protocol/Codec.java
public static void appendField ( OutputStream toStream, Boolean value, int fieldId )
    throws IOException, CodecException
    {
        final byte tmpVal = ( byte ) ( ( value != null && value == true ) ? 1 : 0 );

        appendField ( toStream, tmpVal, fieldId );
    }
/**
     *  Writes a single value to the stream
     *
     * @param toStream The stream to append the data to
     * @param value The value to append to the stream
     * @param fieldId ID of the field to store in the header
     *
     * @throws IOException, CodecException
     **/
Writes a single value to the stream
@param toStream The stream to append the data to
@param value The value to append to the stream
@param fieldId ID of the field to store in the header


Writes a single value to the stream @param toStream The stream to append the data to @param value The value to append to the stream @param fieldId ID of the field to store in the header
public static void appendField ( OutputStream toStream, Boolean value, int fieldId )
    throws IOException, CodecException
    {
        final byte tmpVal = ( byte ) ( ( value != null && value == true ) ? 1 : 0 );
        appendField ( toStream, tmpVal, fieldId );
    }
public static void appendField ( OutputStream toStream , Boolean value , int fieldId ) throws IOException , CodecException { final byte tmpVal = ( byte ) ( ( value != null && value == true ) ? 1 : 0 ) ; appendField ( toStream , tmpVal , fieldId ) ; }
Writes a single value to the stream
 @param toStream The stream to append the data to
 @param value The value to append to the stream
 @param fieldId ID of the field to store in the header
Writes a single value to the stream @param toStream The stream to append the data to @param value The value to append to the stream @param fieldId ID of the field to store in the header