fieldbytevector

package
v0.0.0-...-e3369bb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 12, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FieldByteVector

type FieldByteVector struct {
	FieldDetails properties.Properties
	Operation    operation.Operation
	// contains filtered or unexported fields
}

FieldByteVector represents a FAST template <byteVector/> type

func New

func New(properties properties.Properties) FieldByteVector

New <byteVector/> field with the given properties and no operation

func NewConstantOperation

func NewConstantOperation(properties properties.Properties, constantValue []byte) FieldByteVector

NewConstantOperation <byteVector/> field with the given properties and <constant value="constantValue"/> operator

func NewCopyOperation

func NewCopyOperation(properties properties.Properties) FieldByteVector

NewCopyOperation <byteVector/> field with the given properties and <copy/> operator

func NewCopyOperationWithInitialValue

func NewCopyOperationWithInitialValue(properties properties.Properties, initialValue []byte) FieldByteVector

NewCopyOperationWithInitialValue <byteVector/> field with the given properties and <copy value="initialValue"/> operator

func NewDefaultOperation

func NewDefaultOperation(properties properties.Properties) FieldByteVector

NewDefaultOperation <byteVector/> field with the given properties and <default /> operator

func NewDefaultOperationWithValue

func NewDefaultOperationWithValue(properties properties.Properties, defaultValue []byte) FieldByteVector

NewDefaultOperationWithValue <byteVector/> field with the given properties and <default value="constantValue"/> operator

func NewDeltaOperation

func NewDeltaOperation(properties properties.Properties) FieldByteVector

NewDeltaOperation <byteVector/> field with the given properties and <delta/> operator

func NewDeltaOperationWithInitialValue

func NewDeltaOperationWithInitialValue(properties properties.Properties, initialValue []byte) FieldByteVector

NewDeltaOperationWithInitialValue <byteVector/> field with the given properties and <delta value="initialValue"/> operator

func NewTailOperation

func NewTailOperation(properties properties.Properties) FieldByteVector

NewTailOperation <byteVector/> field with the given properties and <tail/> operator

func NewTailOperationWithInitialValue

func NewTailOperationWithInitialValue(properties properties.Properties, initialValue []byte) FieldByteVector

NewTailOperationWithInitialValue <byteVector/> field with the given properties and <tail value="initialValue"/> operator

func (FieldByteVector) Deserialise

func (field FieldByteVector) Deserialise(inputSource *bytes.Buffer, pMap *presencemap.PresenceMap, dictionary *dictionary.Dictionary) (fix.Value, error)

Deserialise a <byteVector/> from the input source

func (FieldByteVector) GetTagId

func (field FieldByteVector) GetTagId() uint64

GetTagId for this field

func (FieldByteVector) RequiresPmap

func (field FieldByteVector) RequiresPmap() bool

RequiresPmap returns whether the underlying operation for this field requires a pmap bit being set

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL