ByteBufferStream.EfficientCopyTo Method (original) (raw)

ByteBufferStreamEfficientCopyTo Method

Copy the current stream to the destination without making unnecessary copies of the bytes.

Namespace: MongoDB.Bson.IO
Assembly: MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.10.0+569905ff5e778c38ea19d9d0392496a83e1704ed

Syntax

public void EfficientCopyTo( Stream destination )

Public Sub EfficientCopyTo ( destination As Stream )

abstract EfficientCopyTo : destination : Stream -> unit override EfficientCopyTo : destination : Stream -> unit

Parameters

destination

Type: System.IOStream
The destination stream.

Implements

IStreamEfficientCopyToEfficientCopyTo(Stream)

See Also

Reference