public class BoundedByteBuffer extends Object implements AutoCloseable
Modifier and Type | Class and Description |
---|---|
class |
BoundedByteBuffer.Writer
Writes data to the
BoundedByteBuffer
At the end of data, should write and End Of File (EOF) using the writeEOF() method
Closing the Writer without EOF would throw a IOException (Broken stream)
Non thread safe. |
Constructor and Description |
---|
BoundedByteBuffer(int bufferSize,
int readerCount) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
InputStream |
getReader(int index) |
BoundedByteBuffer.Writer |
getWriter() |
public BoundedByteBuffer.Writer getWriter()
public InputStream getReader(int index)
public void close()
close
in interface AutoCloseable
Copyright © 2019 Vitam. All rights reserved.