public override string ToString() { StringBuilder ret = new StringBuilder(); ret.Append(Length); ret.Append(' '); foreach (byte b in Type.Type) { ret.Append((char)b); } ret.Append(' '); foreach (byte b in Data) { ret.Append(b); } ret.Append(' '); foreach (byte b in ByteUtils.GetBytes(CRC)) { ret.Append(b.ToString("X2")); } return(ret.ToString()); }
public override byte[] GetBytes() { return(ByteUtils.GetBytes(gamma)); }
public ParsedGAMA(byte[] data) { gamma = ByteUtils.ToUInt32(data); }