Microsoft.SqlServer.TDS.TDSUtilities.WriteUInt C# (CSharp) Method

WriteUInt() public static method

Write unsigned integer into the stream
public static WriteUInt ( Stream destination, uint value ) : void
destination Stream
value uint
return void
        public static void WriteUInt(Stream destination, uint value)
        {
            destination.WriteByte((byte)value);
            destination.WriteByte((byte)(value >> 8));
            destination.WriteByte((byte)(value >> 16));
            destination.WriteByte((byte)(value >> 24));
        }