Exemplo n.º 1
0
        /// <summary>
        /// Writes the string representation of a specified 64-bit unsigned integer to the buffer.
        /// </summary>
        /// <param name="value">The value to write.</param>
        public void Write(ulong value)
        {
            FixedString128 f = default;

            f.Format(value);
            Write(f);
        }
Exemplo n.º 2
0
        /// <summary>
        /// Writes the string representation of a specified 64-bit floating-point number to the buffer.
        /// </summary>
        /// <param name="value">The value to write.</param>
        public void Write(double value)
        {
            FixedString128 f = default;

            f.Format((float)value);
            Write(f);
        }