Gemstone Common Library
Show/Hide TOC

# BlockAllocatedMemoryStreamWriteTo Method

Writes the entire stream into destination, regardless of Position, which remains unchanged.

## Definition

Namespace: Gemstone.IO
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.173 -- Release Build+298e1c238b074757f82f41812034645402a162ed
C#
View Source Request Example

    public void WriteTo(
    	Stream destination
    )

VB
View Source Request Example

    Public Sub WriteTo (
    	destination As Stream
    )

C++
View Source Request Example

    public:
    void WriteTo(
    	Stream^ destination
    )

JavaScript
View Source Request Example

    function WriteTo(destination);

#### Parameters

destination Stream
  The stream onto which to write the current contents.

## Exceptions

ObjectDisposedException | The stream is closed.

## See Also

#### Reference

BlockAllocatedMemoryStream Class
Gemstone.IO Namespace