@Deprecated public class PoolOutputBuffer extends OutputBuffer
| Modifier and Type | Field and Description |
|---|---|
static int |
BUF_SIZE
Deprecated.
|
| Constructor and Description |
|---|
PoolOutputBuffer()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
String |
asAscii()
Deprecated.
|
String |
asString(String encoding)
Deprecated.
This method is NOT a part of public API and will be dropped in 3.x versions.
|
int |
getPosition()
Deprecated.
|
int |
pipe(OutputStream out)
Deprecated.
|
void |
reset()
Deprecated.
|
void |
seekEnd()
Deprecated.
This method is NOT a part of public API and will be dropped in 3.x versions.
|
void |
seekStart()
Deprecated.
This method is NOT a part of public API and will be dropped in 3.x versions.
|
void |
setPosition(int position)
Deprecated.
This method is NOT a part of public API and will be dropped in 3.x versions.
|
int |
size()
Deprecated.
|
void |
truncateToPosition(int newPosition)
Deprecated.
Truncates the buffer to the given new position, which must be greater than or equal to zero and less than or equal to the current
size of this buffer.
|
void |
write(byte[] b)
Deprecated.
|
void |
write(byte[] b,
int off,
int len)
Deprecated.
|
void |
write(int b)
Deprecated.
|
asString, backpatchSize, backpatchSize, hex, md5, toByteArray, toString, writeCString, writeDouble, writeInt, writeInt, writeIntBE, writeLong, writeStringclose, flushpublic static final int BUF_SIZE
public void reset()
public int getPosition()
getPosition in class OutputBuffer@Deprecated public void setPosition(int position)
setPosition in class OutputBuffer@Deprecated public void seekEnd()
seekEnd in class OutputBuffer@Deprecated public void seekStart()
seekStart in class OutputBufferpublic int size()
size in class OutputBufferpublic void write(byte[] b)
write in class OutputBufferpublic void write(byte[] b,
int off,
int len)
write in class OutputBufferpublic void write(int b)
write in class OutputBufferpublic void truncateToPosition(int newPosition)
OutputBuffertruncateToPosition in class OutputBuffernewPosition - the position to truncate this buffer topublic int pipe(OutputStream out) throws IOException
pipe in class OutputBufferIOExceptionpublic String asAscii()
@Deprecated public String asString(String encoding) throws UnsupportedEncodingException
asString in class OutputBufferUnsupportedEncodingException