AdiVarFieldEncoder.Encode Method

TegoOS

AdiVarFieldEncoderEncode 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 int Encode(
	EpcEncoder epc,
	PropertyInfo propertyInfo,
	ushort[] words,
	int bitAddress,
	int bitCount
)
Public Function Encode ( 
	epc As EpcEncoder,
	propertyInfo As PropertyInfo,
	words As UShort(),
	bitAddress As Integer,
	bitCount As Integer
) As Integer
public:
virtual int Encode(
	EpcEncoder^ epc, 
	PropertyInfo^ propertyInfo, 
	array<unsigned short>^ words, 
	int bitAddress, 
	int bitCount
) sealed
abstract Encode : 
        epc : EpcEncoder * 
        propertyInfo : PropertyInfo * 
        words : uint16[] * 
        bitAddress : int * 
        bitCount : int -> int 
override Encode : 
        epc : EpcEncoder * 
        propertyInfo : PropertyInfo * 
        words : uint16[] * 
        bitAddress : int * 
        bitCount : int -> int 

Parameters

epc
Type: Tego.Rfid.TdsEpcEncoder
EPC encoder providing field.
propertyInfo
Type: System.ReflectionPropertyInfo
Property which represents the field to encode.
words
Type: SystemUInt16
Word array in which to write the encoded field.
bitAddress
Type: SystemInt32
Address at which to write the field.
bitCount
Type: SystemInt32
Number of bits to encode. Default VARIABLE if not known.

Return Value

Type: Int32
Number of bits encoded.

Implements

IEpcFieldEncoderEncode(EpcEncoder, PropertyInfo, UInt16, Int32, Int32)
See Also