org.openmdx.base.stream.rmi.cci
Interface BinarySource_1_0
- All Superinterfaces:
- Remote, Source_1_0
- All Known Implementing Classes:
- BinarySource_1, BinarySource_1, BinarySource_1, BinarySource_1Proxy, BinarySource_1Proxy, BinarySource_1Proxy
public interface BinarySource_1_0
- extends Source_1_0, Remote
The Collection_1_0 interface defines the transport protocol for remote
collections.
|
Method Summary |
byte[] |
readBytes(int capacity)
Updates all or part of the BLOB value that this Blob object
represents, as an array of bytes. |
readBytes
byte[] readBytes(int capacity)
throws IOException
- Updates all or part of the BLOB value that this Blob object
represents, as an array of bytes. This byte array contains up to
length consecutive bytes starting at the specified position.
- Parameters:
capacity - the number of consecutive bytes to be copied
- Returns:
- a byte array containing up to capacity consecutive bytes from
the BLOB;
or null in case of an end of stream condition
- Throws:
IOException - if an I/O error occurs.
This software is published under the BSD license. Copyright © 2003-2007, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.