A Sandcastle Documented Class Library
![]() | PartitionedEpcEncoderEncodeField Method |
Encodes a field returning the number of bits used. Overriden to handle partitions.
Namespace: Tego.Rfid.Tds
Assembly: Tego (in Tego.dll) Version: 1.0.6599.21663 (1.2017.413.1)

public override int EncodeField( PropertyInfo propertyInfo, EpcFieldAttribute fieldAttribute, ushort[] words, int nextBitAddress )
Public Overrides 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 ) override
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: Int32Number of bits encoded.
Implements
IEpcEncoderEncodeField(PropertyInfo, EpcFieldAttribute, UInt16, Int32)