2.11.2 DocRoutingSlipString

Referenced by: DocRoutingSlipAtom

A structure that specifies information about a string in a document routing slip.


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

stringType

stringLength

string (variable)

...

stringType (2 bytes): An unsigned integer that specifies the type of a string. It MUST be a value from the following table.

Value

Meaning

0x0001

The originator of a document routing slip.

0x0002

A recipient of a document routing slip.

0x0003

The subject of a document routing slip.

0x0004

The message body of a document routing slip.

stringLength (2 bytes): An unsigned integer that specifies the number of bytes supplied for the string, minus 1. If stringType is equal to 0x0001 or 0x0002, this value MUST be greater than 0x0000.

string (variable): A PrintableAnsiString (section 2.2.22) that specifies the characters of the string. The length, in bytes, of the string is specified by stringLength plus 1. If stringType is equal to 0x0001 or 0x0002, the byte at index stringLength minus 1 MUST be equal to 0x00 and the byte at index stringLength MUST be ignored. If stringType is equal to 0x0003 or 0x0004, the byte at index stringLength MUST be equal to 0x00.