Table of Contents

Method ToBytes

Namespace
Aspose.CAD
Assembly
Aspose.CAD.dll

ToBytes()

Converts the stream data to the byte array.

public virtual byte[] ToBytes()

Returns

byte[]

The stream data converted to the byte array.

ToBytes(long, long)

Converts the stream data to the byte array.

public virtual byte[] ToBytes(long position, long bytesCount)

Parameters

position long

The position to start reading bytes from.

bytesCount long

The bytes count to read.

Returns

byte[]

The stream data converted to the byte array.