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

WriteInt() static private method

Write signed integer into the stream
static private WriteInt ( Stream destination, int value ) : void
destination Stream
value int
return void
        internal static void WriteInt(Stream destination, int value)
        {
            destination.WriteByte((byte)value);
            destination.WriteByte((byte)(value >> 8));
            destination.WriteByte((byte)(value >> 16));
            destination.WriteByte((byte)(value >> 24));
        }