@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, writeString
close, flush
public 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 OutputBuffer
public int size()
size
in class OutputBuffer
public void write(byte[] b)
write
in class OutputBuffer
public void write(byte[] b, int off, int len)
write
in class OutputBuffer
public void write(int b)
write
in class OutputBuffer
public void truncateToPosition(int newPosition)
OutputBuffer
truncateToPosition
in class OutputBuffer
newPosition
- the position to truncate this buffer topublic int pipe(OutputStream out) throws IOException
pipe
in class OutputBuffer
IOException
public String asAscii()
@Deprecated public String asString(String encoding) throws UnsupportedEncodingException
asString
in class OutputBuffer
UnsupportedEncodingException