PDF4Java Reference Documentation
com.o2sol.pdf4java.core.io Package / FileStream Class / write Method
An array of bytes. This method copies count bytes from buffer to the current stream.
The zero-based byte offset in buffer at which to begin copying bytes to the current stream.
The number of bytes to be written to the current stream.
Collapse All Expand All
In This Topic

write Method
In This Topic
Writes a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written.
Syntax

    public void write(
       byte[] buffer,
       int offset,
       int count
    )

#### Parameters

buffer
  An array of bytes. This method copies count bytes from buffer to the current stream.
offset
  The zero-based byte offset in buffer at which to begin copying bytes to the current stream.
count
  The number of bytes to be written to the current stream.

See Also

#### Reference

FileStream Class
FileStream Members

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.