Chat Support
Loupe - Log - Monitor - Resolve
Gibraltar Namespace / PipeStream Class / Append Method
The buffer to write data from.
The byte offset in buffer at which to begin writing from.
The maximum number of bytes to write.

In This Topic
    Append Method
    In This Topic
    Appends a block of bytes to the end of the current stream using data read from buffer.
    Syntax
    'Declaration
     
    
    Public Sub Append( _
       ByVal buffer() As Byte, _
       ByVal offset As Integer, _
       ByVal count As Integer _
    ) 
    public void Append( 
       byte[] buffer,
       int offset,
       int count
    )

    Parameters

    buffer
    The buffer to write data from.
    offset
    The byte offset in buffer at which to begin writing from.
    count
    The maximum number of bytes to write.
    Exceptions
    ExceptionDescription
    buffer is null.
    The stream does not support writing. For additional information see System.IO.Stream.CanWrite. -or- The current position is closer than count bytes to the end of the stream, and the capacity cannot be modified.
    offset subtracted from the buffer length is less than count.
    offset or count are negative.
    An I/O error occurs.
    The current stream instance is closed.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also