Пример #1
0
        public static void WriteUInt64(ulong value, MsgPackStream stream)
        {
            if (value <= uint.MaxValue)
            {
                WriteUInt32(unchecked ((uint)value), stream);
                return;
            }

            stream.WriteUInt8(FormatCode.UInt64);
            stream.WriteUInt64(value);
        }