Get the length of the type field in raw form. This is only needed by
LBMSDMessage to format a raw message.

C# |
public virtual int type_len()

the number of bytes the type field needs
C# |
public virtual int type_len()