PDF4Java Reference Documentation
com.o2sol.pdf4java.core.io Package / MemoryStream Class / MemoryStream Constructor / MemoryStream Constructor(byte[],int,boolean)
Source buffer.
True if the stream is writeable.
Collapse All Expand All
In This Topic

MemoryStream Constructor(byte[],int,boolean)
In This Topic
Initializes a new MemoryStream object with the specified byte array.
Syntax

    public MemoryStream(
       byte[] buffer,
       int length,
       boolean writable
    )

#### Parameters

buffer
  Source buffer.
length
writable
  True if the stream is writeable.

Exceptions

Exception | Description
--- | ---
java.lang.IllegalArgumentException | When buffer is null.

See Also

#### Reference

MemoryStream Class
MemoryStream Members
Overload List

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.