﻿<?xml version="1.0" encoding="utf-8"?><Type Name="UnmanagedMemoryStream" FullName="System.IO.UnmanagedMemoryStream"><TypeSignature Language="C#" Value="public class UnmanagedMemoryStream : System.IO.Stream" /><TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit UnmanagedMemoryStream extends System.IO.Stream" /><AssemblyInfo><AssemblyName>mscorlib</AssemblyName><AssemblyVersions><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyVersions><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><Base><BaseTypeName>System.IO.Stream</BaseTypeName></Base><Interfaces /><Docs><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>This class supports access to unmanaged memory using the existing stream-based model and does not require that the contents in the unmanaged memory be copied to the heap.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Provides access to unmanaged blocks of memory from managed code.</para></summary></Docs><Members><Member MemberName=".ctor"><MemberSignature Language="C#" Value="protected UnmanagedMemoryStream ();" /><MemberSignature Language="ILAsm" Value=".method familyhidebysig specialname rtspecialname instance void .ctor() cil managed" /><MemberType>Constructor</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><Parameters /><Docs><remarks>To be added.</remarks><since version=".NET 2.0" /><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Initializes a new instance of the <see cref="T:System.IO.UnmanagedMemoryStream" /> class.</para></summary></Docs></Member><Member MemberName=".ctor"><MemberSignature Language="C#" Value="public UnmanagedMemoryStream (byte* pointer, long length);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(unsigned int8* pointer, int64 length) cil managed" /><MemberType>Constructor</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><Attributes><Attribute><AttributeName>System.CLSCompliant(false)</AttributeName></Attribute></Attributes><Parameters><Parameter Name="pointer" Type="System.Byte*" /><Parameter Name="length" Type="System.Int64" /></Parameters><Docs><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>This constructor creates a new instance of the <see cref="T:System.IO.UnmanagedMemoryStream" /> class, and by default sets the <see cref="P:System.IO.UnmanagedMemoryStream.CanWrite" /> property to false and the <see cref="P:System.IO.UnmanagedMemoryStream.CanRead" /> property to true. The <see cref="P:System.IO.UnmanagedMemoryStream.Length" /> property is set to the value of the <paramref name="length" /> parameter and cannot be changed.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Initializes a new instance of the <see cref="T:System.IO.UnmanagedMemoryStream" /> class using the specified location and memory length.</para></summary><param name="pointer"><attribution license="cc4" from="Microsoft" modified="false" />A pointer to an unmanaged memory location.</param><param name="length"><attribution license="cc4" from="Microsoft" modified="false" />The length of the memory to use.</param></Docs></Member><Member MemberName=".ctor"><MemberSignature Language="C#" Value="public UnmanagedMemoryStream (System.Runtime.InteropServices.SafeBuffer buffer, long offset, long length);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class System.Runtime.InteropServices.SafeBuffer buffer, int64 offset, int64 length) cil managed" /><MemberType>Constructor</MemberType><AssemblyInfo><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><Parameters><Parameter Name="buffer" Type="System.Runtime.InteropServices.SafeBuffer" /><Parameter Name="offset" Type="System.Int64" /><Parameter Name="length" Type="System.Int64" /></Parameters><Docs><remarks>To be added.</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Initializes a new instance of the <see cref="T:System.IO.UnmanagedMemoryStream" /> class in a safe buffer with a specified offset and length. </para></summary><param name="buffer"><attribution license="cc4" from="Microsoft" modified="false" />The buffer to contain the unmanaged memory stream.</param><param name="offset"><attribution license="cc4" from="Microsoft" modified="false" />The byte position in the buffer at which to start the unmanaged memory stream.</param><param name="length"><attribution license="cc4" from="Microsoft" modified="false" />The length of the unmanaged memory stream.</param></Docs></Member><Member MemberName=".ctor"><MemberSignature Language="C#" Value="public UnmanagedMemoryStream (byte* pointer, long length, long capacity, System.IO.FileAccess access);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(unsigned int8* pointer, int64 length, int64 capacity, valuetype System.IO.FileAccess access) cil managed" /><MemberType>Constructor</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><Attributes><Attribute><AttributeName>System.CLSCompliant(false)</AttributeName></Attribute></Attributes><Parameters><Parameter Name="pointer" Type="System.Byte*" /><Parameter Name="length" Type="System.Int64" /><Parameter Name="capacity" Type="System.Int64" /><Parameter Name="access" Type="System.IO.FileAccess" /></Parameters><Docs><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The <paramref name="length" /> parameter defines the current amount of memory in use. If reading or appending data to the stream, the <paramref name="length" /> value should be equal to the amount of valid data in the stream to be read from or preserved. If writing to the stream, this value should be zero. </para><para>The <paramref name="capacity" /> parameter indicates the amount of total memory available. This value can describe a region that is longer than the length specified, or indicate a region that can be appended to. Any attempt to write beyond this value will fail. </para><para>The <paramref name="access" /> parameter sets the <see cref="P:System.IO.UnmanagedMemoryStream.CanRead" />, and <see cref="P:System.IO.UnmanagedMemoryStream.CanWrite" /> properties. Note that specifying <see cref="F:System.IO.FileAccess.Write" /> does not guarantee that the stream will be writable. The access parameters allow the implementer to create an object whose implementation can match the actual stream that is exposed.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Initializes a new instance of the <see cref="T:System.IO.UnmanagedMemoryStream" /> class using the specified location, memory length, total amount of memory, and file access values.</para></summary><param name="pointer"><attribution license="cc4" from="Microsoft" modified="false" />A pointer to an unmanaged memory location.</param><param name="length"><attribution license="cc4" from="Microsoft" modified="false" />The length of the memory to use.</param><param name="capacity"><attribution license="cc4" from="Microsoft" modified="false" />The total amount of memory assigned to the stream.</param><param name="access"><attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.IO.FileAccess" /> values.</param></Docs></Member><Member MemberName=".ctor"><MemberSignature Language="C#" Value="public UnmanagedMemoryStream (System.Runtime.InteropServices.SafeBuffer buffer, long offset, long length, System.IO.FileAccess access);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class System.Runtime.InteropServices.SafeBuffer buffer, int64 offset, int64 length, valuetype System.IO.FileAccess access) cil managed" /><MemberType>Constructor</MemberType><AssemblyInfo><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><Parameters><Parameter Name="buffer" Type="System.Runtime.InteropServices.SafeBuffer" /><Parameter Name="offset" Type="System.Int64" /><Parameter Name="length" Type="System.Int64" /><Parameter Name="access" Type="System.IO.FileAccess" /></Parameters><Docs><remarks>To be added.</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Initializes a new instance of the <see cref="T:System.IO.UnmanagedMemoryStream" /> class in a safe buffer with a specified offset, length, and file access. </para></summary><param name="buffer"><attribution license="cc4" from="Microsoft" modified="false" />The buffer to contain the unmanaged memory stream.</param><param name="offset"><attribution license="cc4" from="Microsoft" modified="false" />The byte position in the buffer at which to start the unmanaged memory stream.</param><param name="length"><attribution license="cc4" from="Microsoft" modified="false" />The length of the unmanaged memory stream.</param><param name="access"><attribution license="cc4" from="Microsoft" modified="false" />The mode of file access to the unmanaged memory stream. </param></Docs></Member><Member MemberName="CanRead"><MemberSignature Language="C#" Value="public override bool CanRead { get; }" /><MemberSignature Language="ILAsm" Value=".property instance bool CanRead" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Boolean</ReturnType></ReturnValue><Docs><value>To be added.</value><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>This property indicates whether the current stream object supports reading.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets a value indicating whether a stream supports reading.</para></summary></Docs></Member><Member MemberName="CanSeek"><MemberSignature Language="C#" Value="public override bool CanSeek { get; }" /><MemberSignature Language="ILAsm" Value=".property instance bool CanSeek" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Boolean</ReturnType></ReturnValue><Docs><value>To be added.</value><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>This property indicates whether the current stream object supports seeking.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets a value indicating whether a stream supports seeking.</para></summary></Docs></Member><Member MemberName="CanWrite"><MemberSignature Language="C#" Value="public override bool CanWrite { get; }" /><MemberSignature Language="ILAsm" Value=".property instance bool CanWrite" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Boolean</ReturnType></ReturnValue><Docs><value>To be added.</value><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>This property indicates whether the current stream object supports writing.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets a value indicating whether a stream supports writing.</para></summary></Docs></Member><Member MemberName="Capacity"><MemberSignature Language="C#" Value="public long Capacity { get; }" /><MemberSignature Language="ILAsm" Value=".property instance int64 Capacity" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Int64</ReturnType></ReturnValue><Docs><value>To be added.</value><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>This property returns the <paramref name="capacity" /> value provided to the constructor. If no <paramref name="capacity" /> value was specified when the stream was initialized, this property returns the stream length.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets the stream length (size) or the total amount of memory assigned to a stream (capacity).</para></summary></Docs></Member><Member MemberName="Dispose"><MemberSignature Language="C#" Value="protected override void Dispose (bool disposing);" /><MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance void Dispose(bool disposing) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="disposing" Type="System.Boolean" /></Parameters><Docs><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>This method is called by the public <see cref="M:System.ComponentModel.Component.Dispose" /> method and the <see cref="M:System.Object.Finalize" /> method. <see cref="M:System.ComponentModel.Component.Dispose" /> invokes the protected <see cref="M:System.IO.UnmanagedMemoryStream.Dispose(System.Boolean)" /> method with the <paramref name="disposing" /> parameter set to true. <see cref="M:System.Object.Finalize" /> invokes <see cref="M:System.IO.UnmanagedMemoryStream.Dispose(System.Boolean)" /> with <paramref name="disposing" /> set to false.</para><para>When the <paramref name="disposing" /> parameter is true, this method releases all resources held by any managed objects that this <see cref="T:System.IO.UnmanagedMemoryStream" /> references. This method invokes the <see cref="M:System.ComponentModel.Component.Dispose" /> method of each referenced object.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Releases the unmanaged resources used by the <see cref="T:System.IO.UnmanagedMemoryStream" /> and optionally releases the managed resources.</para></summary><param name="disposing"><attribution license="cc4" from="Microsoft" modified="false" />true to release both managed and unmanaged resources; false to release only unmanaged resources.</param></Docs></Member><Member MemberName="Flush"><MemberSignature Language="C#" Value="public override void Flush ();" /><MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance void Flush() cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters /><Docs><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>This method performs no action for this class but is included as part of the <see cref="T:System.IO.Stream" /> base class. Since any data is written to RAM, this method is redundant.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Overrides the <see cref="M:System.IO.Stream.Flush" /> method so that no action is performed.</para></summary></Docs></Member><Member MemberName="Initialize"><MemberSignature Language="C#" Value="protected void Initialize (byte* pointer, long length, long capacity, System.IO.FileAccess access);" /><MemberSignature Language="ILAsm" Value=".method familyhidebysig instance void Initialize(unsigned int8* pointer, int64 length, int64 capacity, valuetype System.IO.FileAccess access) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><Attributes><Attribute><AttributeName>System.CLSCompliant(false)</AttributeName></Attribute></Attributes><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="pointer" Type="System.Byte*" /><Parameter Name="length" Type="System.Int64" /><Parameter Name="capacity" Type="System.Int64" /><Parameter Name="access" Type="System.IO.FileAccess" /></Parameters><Docs><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>This method is equivalent to the <see cref="M:System.IO.UnmanagedMemoryStream.#ctor(System.Byte*,System.Int64,System.Int64,System.IO.FileAccess)" /> constructor. It supports methods that need to initialize the pointer before setting stream variables and, therefore, cannot call the parameterized constructor. Such methods should use the default constructor, <see cref="M:System.IO.UnmanagedMemoryStream.#ctor" />, initialize the pointer, and then invoke the <see cref="M:System.IO.UnmanagedMemoryStream.Initialize(System.Byte*,System.Int64,System.Int64,System.IO.FileAccess)" /> method.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Initializes a new instance of the <see cref="T:System.IO.UnmanagedMemoryStream" /> class by using a pointer to an unmanaged memory location. </para></summary><param name="pointer"><attribution license="cc4" from="Microsoft" modified="false" />A pointer to an unmanaged memory location.</param><param name="length"><attribution license="cc4" from="Microsoft" modified="false" />The length of the memory to use.</param><param name="capacity"><attribution license="cc4" from="Microsoft" modified="false" />The total amount of memory assigned to the stream.</param><param name="access"><attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.IO.FileAccess" /> values. </param></Docs></Member><Member MemberName="Initialize"><MemberSignature Language="C#" Value="protected void Initialize (System.Runtime.InteropServices.SafeBuffer buffer, long offset, long length, System.IO.FileAccess access);" /><MemberSignature Language="ILAsm" Value=".method familyhidebysig instance void Initialize(class System.Runtime.InteropServices.SafeBuffer buffer, int64 offset, int64 length, valuetype System.IO.FileAccess access) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="buffer" Type="System.Runtime.InteropServices.SafeBuffer" /><Parameter Name="offset" Type="System.Int64" /><Parameter Name="length" Type="System.Int64" /><Parameter Name="access" Type="System.IO.FileAccess" /></Parameters><Docs><remarks>To be added.</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Initializes a new instance of the <see cref="T:System.IO.UnmanagedMemoryStream" /> class in a safe buffer with a specified offset, length, and file access. </para></summary><param name="buffer"><attribution license="cc4" from="Microsoft" modified="false" />The buffer to contain the unmanaged memory stream.</param><param name="offset"><attribution license="cc4" from="Microsoft" modified="false" />The byte position in the buffer at which to start the unmanaged memory stream.</param><param name="length"><attribution license="cc4" from="Microsoft" modified="false" />The length of the unmanaged memory stream.</param><param name="access"><attribution license="cc4" from="Microsoft" modified="false" />The mode of file access to the unmanaged memory stream.</param></Docs></Member><Member MemberName="Length"><MemberSignature Language="C#" Value="public override long Length { get; }" /><MemberSignature Language="ILAsm" Value=".property instance int64 Length" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Int64</ReturnType></ReturnValue><Docs><value>To be added.</value><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>If unchanged since the stream was initialized, this property returns the length value provided to the constructor. If changes to the stream have occurred, this property reflects any changes to the length of the data.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets the length of the data in a stream.</para></summary></Docs></Member><Member MemberName="Position"><MemberSignature Language="C#" Value="public override long Position { get; set; }" /><MemberSignature Language="ILAsm" Value=".property instance int64 Position" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Int64</ReturnType></ReturnValue><Docs><value>To be added.</value><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>When a stream is initialized, this property is set to zero.</para><para>Although you can set the position of the stream beyond the stream's capacity, you will not be able to access that area using the <see cref="M:System.IO.UnmanagedMemoryStream.Read(System.Byte[],System.Int32,System.Int32)" /> and <see cref="M:System.IO.UnmanagedMemoryStream.Write(System.Byte[],System.Int32,System.Int32)" /> methods. <see cref="M:System.IO.UnmanagedMemoryStream.Read(System.Byte[],System.Int32,System.Int32)" /> will return 0 and <see cref="M:System.IO.UnmanagedMemoryStream.Write(System.Byte[],System.Int32,System.Int32)" /> will throw a <see cref="T:System.NotSupportedException" />. This support is primarily for design and code compatibility with basic stream operations.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets or sets the current position in a stream.</para></summary></Docs></Member><Member MemberName="PositionPointer"><MemberSignature Language="C#" Value="public byte* PositionPointer { get; set; }" /><MemberSignature Language="ILAsm" Value=".property instance unsigned int8* PositionPointer" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><Attributes><Attribute><AttributeName>System.CLSCompliant(false)</AttributeName></Attribute></Attributes><ReturnValue><ReturnType>System.Byte*</ReturnType></ReturnValue><Docs><value>To be added.</value><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>To return a pointer to the entire stream, set the <see cref="P:System.IO.UnmanagedMemoryStream.Position" /> property to zero, and then call this property.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets or sets a byte pointer to a stream based on the current position in the stream.</para></summary></Docs></Member><Member MemberName="Read"><MemberSignature Language="C#" Value="public override int Read (byte[] buffer, int offset, int count);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance int32 Read(unsigned int8[] buffer, int32 offset, int32 count) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Int32</ReturnType></ReturnValue><Parameters><Parameter Name="buffer" Type="System.Byte[]" /><Parameter Name="offset" Type="System.Int32" /><Parameter Name="count" Type="System.Int32" /></Parameters><Docs><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The <paramref name="offset" /> parameter gives the offset of the byte in the <paramref name="array" /> parameter (the buffer index) at which to begin reading, and the <paramref name="count" /> parameter gives the maximum number of bytes to be read from this stream. The returned value is the actual number of bytes read, or zero if the end of the stream is reached. If the read operation is successful, the current position of the stream is advanced by the number of bytes read. If an exception occurs, the current position of the stream is unchanged.</para><para>The <see cref="M:System.IO.UnmanagedMemoryStream.Read(System.Byte[],System.Int32,System.Int32)" /> method returns zero only after reaching the end of the stream. Otherwise, <see cref="M:System.IO.UnmanagedMemoryStream.Read(System.Byte[],System.Int32,System.Int32)" /> always reads at least one byte from the stream before returning. If no data is available from the stream upon a call to <see cref="M:System.IO.UnmanagedMemoryStream.Read(System.Byte[],System.Int32,System.Int32)" />, the method will block until at least one byte of data can be returned. An implementation is free to return fewer bytes than requested even if the end of the stream has not been reached.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Reads the specified number of bytes into the specified array.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>The total number of bytes read into the buffer. This can be less than the number of bytes requested if that many bytes are not currently available, or zero (0) if the end of the stream has been reached.</para></returns><param name="buffer"><attribution license="cc4" from="Microsoft" modified="false" />When this method returns, contains the specified byte array with the values between <paramref name="offset" /> and (<paramref name="offset" /> + <paramref name="count" /> - 1) replaced by the bytes read from the current source. This parameter is passed uninitialized.</param><param name="offset"><attribution license="cc4" from="Microsoft" modified="false" />The zero-based byte offset in <paramref name="buffer" /> at which to begin storing the data read from the current stream.</param><param name="count"><attribution license="cc4" from="Microsoft" modified="false" />The maximum number of bytes to read from the current stream.</param></Docs></Member><Member MemberName="ReadByte"><MemberSignature Language="C#" Value="public override int ReadByte ();" /><MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance int32 ReadByte() cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Int32</ReturnType></ReturnValue><Parameters /><Docs><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>Use this method to return integer values from the stream.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Reads a byte from a stream and advances the position within the stream by one byte, or returns -1 if at the end of the stream.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>The unsigned byte cast to an <see cref="T:System.Int32" /> object, or -1 if at the end of the stream.</para></returns></Docs></Member><Member MemberName="Seek"><MemberSignature Language="C#" Value="public override long Seek (long offset, System.IO.SeekOrigin loc);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance int64 Seek(int64 offset, valuetype System.IO.SeekOrigin loc) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Int64</ReturnType></ReturnValue><Parameters><Parameter Name="offset" Type="System.Int64" /><Parameter Name="loc" Type="System.IO.SeekOrigin" /></Parameters><Docs><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>For more information about seeking, see <see cref="M:System.IO.FileStream.Seek(System.Int64,System.IO.SeekOrigin)" />.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Sets the current position of the current stream to the given value.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>The new position in the stream.</para></returns><param name="offset"><attribution license="cc4" from="Microsoft" modified="false" />The point relative to <paramref name="origin" /> to begin seeking from. </param><param name="loc"><attribution license="cc4" from="Microsoft" modified="false" />Specifies the beginning, the end, or the current position as a reference point for <paramref name="origin" />, using a value of type <see cref="T:System.IO.SeekOrigin" />. </param></Docs></Member><Member MemberName="SetLength"><MemberSignature Language="C#" Value="public override void SetLength (long value);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance void SetLength(int64 value) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="value" Type="System.Int64" /></Parameters><Docs><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>If the given value is less than the current length of the stream, the stream is truncated. If the given value is larger than the current length of the stream, the stream is expanded. If the stream is expanded, the contents of the stream between the old and the new lengths are undefined.</para><para>A stream must support both writing and seeking for <see cref="M:System.IO.UnmanagedMemoryStream.SetLength(System.Int64)" /> to work.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Sets the length of a stream to a specified value.</para></summary><param name="value"><attribution license="cc4" from="Microsoft" modified="false" />The length of the stream.</param></Docs></Member><Member MemberName="Write"><MemberSignature Language="C#" Value="public override void Write (byte[] buffer, int offset, int count);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance void Write(unsigned int8[] buffer, int32 offset, int32 count) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="buffer" Type="System.Byte[]" /><Parameter Name="offset" Type="System.Int32" /><Parameter Name="count" Type="System.Int32" /></Parameters><Docs><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>Writing occurs at the current position in the stream.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Writes a block of bytes to the current stream using data from a buffer.</para></summary><param name="buffer"><attribution license="cc4" from="Microsoft" modified="false" />The byte array from which to copy bytes to the current stream.</param><param name="offset"><attribution license="cc4" from="Microsoft" modified="false" />The offset in the buffer at which to begin copying bytes to the current stream.</param><param name="count"><attribution license="cc4" from="Microsoft" modified="false" />The number of bytes to write to the current stream.</param></Docs></Member><Member MemberName="WriteByte"><MemberSignature Language="C#" Value="public override void WriteByte (byte value);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance void WriteByte(unsigned int8 value) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="value" Type="System.Byte" /></Parameters><Docs><remarks>To be added.</remarks><since version=".NET 2.0" /><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Writes a byte to the current position in the file stream.</para></summary><param name="value"><attribution license="cc4" from="Microsoft" modified="false" />A byte value written to the stream.</param></Docs></Member></Members></Type>