System.Web.HttpResponseStream.ByteBucket.Write C# (CSharp) Method

Write() public method

public Write ( byte buf, int offset, int count ) : int
buf byte
offset int
count int
return int
			public unsafe int Write (byte [] buf, int offset, int count)
			{
				if (Expandable == false)
					throw new Exception ("This should not happen.");

				fixed (byte *p = &buf[0]) {
					IntPtr p2 = new IntPtr (p + offset);
					blocks.Write (p2, count);
				}

				length += count;
				return count;
			}

Same methods

HttpResponseStream.ByteBucket::Write ( IntPtr ptr, int count ) : int
HttpResponseStream.ByteBucket