Microsoft SDK for Java

MemoryStream.toByteArray

Converts a SafeArray data structure to a Java array. The location is considered to be index zero.

Syntax

public byte[] toByteArray()

Return Value

Returns the flattened contents of the array.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.