TCAP octet strings represent variable length octet strings such as ITU-T application context names, operation codes, and problem codes:
typedef struct Tcap_Octet_Str
{
U16 length;
U8 fill; /* fill for alignment */
U8 fill2; /* fill for alignment */
U8 octStr[TCAP_MAX_OCTSTR];
} TcapOctetStr;
For optional octet strings, the length field is set to zero to indicate that the parameter is not included. Currently, the maximum length of octet strings using this structure is set to 64 bytes.