Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BigInt ¶
BigInt represents a uint64 and int64 when we are allowing for byte overflows
type ByteVector ¶
ByteVector represents a byte vector fast value. Items to remove is used when applying a delta to a byte vector
func (ByteVector) Add ¶
Add applies the read value to the previous toAdd value. ItemsToRemove represents how much of the existing value to overwrite. Positive means overwrite from end of existing []byte, negative means overwrite from beginning of existing []byte.
func (ByteVector) ApplyTail ¶
ApplyTail overwrites the end of the previous []byte with the read value
func (ByteVector) GetAsFix ¶
func (value ByteVector) GetAsFix() fix.Value
GetAsFix returns a raw []byte wrapped in a fix type
type Int32Value ¶
type Int32Value struct {
Value int32
}
Int32Value represents a int32 fast value
func (Int32Value) Add ¶
Add the previous value to the read value, assuring we stay within the constraints of a int32
func (Int32Value) GetAsFix ¶
func (value Int32Value) GetAsFix() fix.Value
GetAsFix returns a raw int32 wrapped in a fix type
type Int64Value ¶
type Int64Value struct {
Value int64
}
Int64Value represents a int64 fast value
func (Int64Value) Add ¶
Add is used when we are deserialising an int32 (this is its overflow type, much like int64 overflow type is big int).
func (Int64Value) GetAsFix ¶
func (value Int64Value) GetAsFix() fix.Value
GetAsFix returns a raw int64 wrapped in a fix type
type NullValue ¶
type NullValue struct { }
NullValue represents a null fast value
type StringValue ¶
StringValue represents a string fast value. Items to remove is used when applying a delta to a string
func (StringValue) Add ¶
Add applies the read value to the previous toAdd value. ItemsToRemove represents how much of the existing value to overwrite. Positive means overwrite from end of existing string, negative means overwrite from beginning of existing string.
func (StringValue) ApplyTail ¶
ApplyTail overwrites the end of the previous string with the read value
func (StringValue) GetAsFix ¶
func (value StringValue) GetAsFix() fix.Value
GetAsFix returns a raw string wrapped in a fix type
type UInt32Value ¶
type UInt32Value struct {
Value uint32
}
UInt32Value represents a uint32 fast value
func (UInt32Value) Add ¶
Add the previous value to the read value, assuring we stay within the constraints of a uint32
func (UInt32Value) GetAsFix ¶
func (value UInt32Value) GetAsFix() fix.Value
GetAsFix returns a raw uint32 wrapped in a fix type
type UInt64Value ¶
type UInt64Value struct {
Value uint64
}
UInt64Value represents a uint64 fast value
func (UInt64Value) Add ¶
Add should never be called on this type, as we should be treating uint64 values of big ints when decoding them from the stream to allow for byte overflow
func (UInt64Value) GetAsFix ¶
func (value UInt64Value) GetAsFix() fix.Value
GetAsFix returns a raw uint64 wrapped in a fix type