public class ASBufferingOutFilter extends ASOutFilter
| Modifier and Type | Field and Description |
|---|---|
protected byte[] |
internalBuffer |
| Constructor and Description |
|---|
ASBufferingOutFilter(ASOutputStream stream) |
ASBufferingOutFilter(ASOutputStream stream,
int bufferCapacity) |
| Modifier and Type | Method and Description |
|---|---|
int |
bufferRewind(int offset)
Moves buffer writer pointer back by given number of bytes.
|
int |
bufferSize() |
void |
close() |
int |
getBufferCapacity() |
int |
getBufferEnd() |
int |
getBufferWriter() |
void |
storeChar(byte b)
Stores character to current writer position and increments writer position.
|
getStoredOutputStream, write, write, writepublic ASBufferingOutFilter(ASOutputStream stream)
public ASBufferingOutFilter(ASOutputStream stream, int bufferCapacity)
public void close()
close in interface ASOutputStreamclose in class ASOutFilterpublic int getBufferWriter()
public int getBufferEnd()
public int getBufferCapacity()
public int bufferSize()
public void storeChar(byte b)
b - is character to be put into buffer.public int bufferRewind(int offset)
offset - is number of bytes on which we should move pointer.Copyright © 2015–2017 The veraPDF Consortium. All rights reserved.