Пример #1
0
        public static void WriteHex(uint value)
        {
            var buf = new StringBuffer(value, "X");

            buf.WriteTo(Dev);
        }
Пример #2
0
 public static void WriteLine(StringBuffer sb)
 {
     Write(sb);
     Write('\n');
 }
Пример #3
0
        /// <summary>
        /// Appends a number to the string. Use format to output as Hex.
        /// </summary>
        /// <param name="value"></param>
        /// <param name="format"></param>
        public void Append(uint value, string format)
        {
            var sb = new StringBuffer(format);

            Append(value, sb);
        }