quickfix
Class BytesField

java.lang.Object
  extended by quickfix.Field<byte[]>
      extended by quickfix.BytesField
All Implemented Interfaces:
java.io.Serializable

public class BytesField
extends Field<byte[]>

BytesField enables better handling of binary data. With BytesFields binary data can be directly put into FIX messages without casting them into Strings.

See Also:
Serialized Form

Constructor Summary
BytesField(int field)
           
BytesField(int field, byte[] data)
           
 
Method Summary
 byte[] getValue()
           
protected  java.lang.String objectAsString()
           
 void setValue(byte[] data)
           
 
Methods inherited from class quickfix.Field
equals, getField, getObject, getTag, hashCode, setObject, setTag, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BytesField

public BytesField(int field)

BytesField

public BytesField(int field,
                  byte[] data)
Method Detail

setValue

public void setValue(byte[] data)

getValue

public byte[] getValue()

objectAsString

protected java.lang.String objectAsString()
Overrides:
objectAsString in class Field<byte[]>