2.2.4 Share Protocol Footer

The Share Protocol footer specifies the last piece of the OPC package, up to 15 bytes. The total size of this message MUST be 48 bytes.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

Remainder (variable, optional)

...

...

Reserved (variable)

...

...

RemainderLength

Remainder (variable, optional): The final bytes of the OPC file, which did not fit exactly in a block of data. The size of this field is specified in the RemainderLength field. If the size is zero, this field SHOULD NOT be not present.

Reserved (variable): This field MUST be set to zero when sent and MUST be ignored when received. The size of this field is a function of the RemainderLength field value, as follows:

ReservedLength = 47 - RemainderLength

RemainderLength (1 byte): The length of the Remainder field, in bytes. This value MUST be from zero to 15, inclusive.