EpcEncoder.EncodeField Method

TegoOS

EpcEncoderEncodeField Method
Encodes a field returning the number of bits used.

Namespace: Tego.Rfid.Tds
Assembly: Tego (in Tego.dll) Version: 1.0.6599.21663 (1.2017.413.1)
Syntax
public virtual int EncodeField(
	PropertyInfo propertyInfo,
	EpcFieldAttribute fieldAttribute,
	ushort[] words,
	int nextBitAddress
)
Public Overridable Function EncodeField ( 
	propertyInfo As PropertyInfo,
	fieldAttribute As EpcFieldAttribute,
	words As UShort(),
	nextBitAddress As Integer
) As Integer
public:
virtual int EncodeField(
	PropertyInfo^ propertyInfo, 
	EpcFieldAttribute^ fieldAttribute, 
	array<unsigned short>^ words, 
	int nextBitAddress
)
abstract EncodeField : 
        propertyInfo : PropertyInfo * 
        fieldAttribute : EpcFieldAttribute * 
        words : uint16[] * 
        nextBitAddress : int -> int 
override EncodeField : 
        propertyInfo : PropertyInfo * 
        fieldAttribute : EpcFieldAttribute * 
        words : uint16[] * 
        nextBitAddress : int -> int 

Parameters

propertyInfo
Type: System.ReflectionPropertyInfo
Property which represents this field.
fieldAttribute
Type: Tego.Rfid.TdsEpcFieldAttribute
EpcAttribute describing this field.
words
Type: SystemUInt16
Word array in which to write the encoded field.
nextBitAddress
Type: SystemInt32
Next address calculated from sum of previously encoded lengths.

Return Value

Type: Int32
Number of bits encoded.

Implements

IEpcEncoderEncodeField(PropertyInfo, EpcFieldAttribute, UInt16, Int32)
See Also