public void composeString(string str)
 {
     buff.appendAscii(str);
     buff.appendUint8(0);
 }
 public void composeSignedInteger(long num)
 {
     buff.appendAscii(num.ToString());
 }