public class BasicOutputBuffer extends OutputBuffer
Constructor and Description |
---|
BasicOutputBuffer() |
Modifier and Type | Method and Description |
---|---|
String |
asString()
Deprecated.
This method is NOT a part of public API and will be dropped in 3.x versions.
|
String |
asString(String encoding)
Deprecated.
This method is NOT a part of public API and will be dropped in 3.x versions.
|
int |
getPosition() |
int |
pipe(DataOutput out)
Deprecated.
This method is NOT a part of public API and will be dropped in 3.x versions.
|
int |
pipe(OutputStream out) |
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() |
void |
write(byte[] b) |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
backpatchSize, backpatchSize, hex, md5, toByteArray, toString, truncateToPosition, writeCString, writeDouble, writeInt, writeInt, writeIntBE, writeLong, writeString
close, flush
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 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 int pipe(OutputStream out) throws IOException
pipe
in class OutputBuffer
IOException
@Deprecated public int pipe(DataOutput out) throws IOException
IOException
@Deprecated public String asString()
asString
in class OutputBuffer
@Deprecated public String asString(String encoding) throws UnsupportedEncodingException
asString
in class OutputBuffer
UnsupportedEncodingException