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.152 -- Release Build+1bdd5395ab91a1a698659399697f8334859b02d2
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