Mono.StreamHelper.WriteInt C# (CSharp) Method

WriteInt() public static method

public static WriteInt ( this stream, int n ) : void
stream this
n int
return void
		public static void WriteInt (this Stream stream, int n)
		{
			byte [] bytes = converter.GetBytes (n);
			stream.Write (bytes, 0, bytes.Length);
		}