addU8() public method

Add a new 8 bit unsigned int field.
public addU8 ( string name, ushort fid, byte val ) : void
name string
fid ushort
val byte
return void
 public void addMamaHeaderFields(
                     MamaMsg msg,
                     byte msgType,
                     byte msgStatus,
                     uint seqNum)
 {
     msg.addU8(null, 1, msgType);
     msg.addU8(null, 2, msgStatus);
     msg.addU32(null, 10, seqNum);
     msg.addU64(null, 20, 1);
 }