2.2.2 Share Header

The Share header specifies an estimated size of an OPC package.


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

HeaderSize

TotalContentSizeEstimate

...

...

HeaderSize (2 bytes): The value 10 in little-endian encoding (0x0A, 0x00). Future versions of this protocol MAY specify a larger size, and implementations MUST accept any value greater than or equal to 10 and ignore fields that are not defined in this specification.

TotalContentSizeEstimate (8 bytes): An estimated size of the OPC package to be shared, in little-endian encoding. When this field is set to zero, the sender indicates that the size of the package is unknown, which can happen when the package is being streamed. This value is used only for providing an estimate to the user of how long the transfer will take.