Click or drag to resize

RfidBank01FromAfiUiiBytes(Byte) Method

Creates an RfidBank01 instance with the toggle bit set to indicate an ISO application, and having the specified contents of the AFI and UII portions. The specified byte array provides the contents of both the AFI and UII portions: the first byte becomes bits 18 through 1F (hex), and the most significant bit of byte array element 1 becomes bit 20 (hex). Sufficient zero padding bits are added to make the total length of the UII portion (not counting the AFI) a multiple of 16 bits (that is, either 0 or 8 bits of padding are added). The PC length bits are calculated based on this padded length. The PC toggle bit (bit 17 hex) is set to one. PC bits 15 hex and 16 hex are set to zero. If a zero-length array is specified, it is equivalent to specifying a byte array containing a single zero element (that is, an AFI of zero and a zero-length UII).

Namespace: GS1.EPC.Api
Assembly: epc-epconly (in epc-epconly.dll) Version: 2.1.0.28145 (2.1.0.0)
Syntax
C#
public static RfidBank01 FromAfiUiiBytes(
	byte[] bytes
)

Parameters

bytes  Byte
 

Return Value

RfidBank01
See Also