ByteArrayOutput
class instead.@Deprecated public class ByteArrayDataOutput extends ByteArrayBuffer implements DataOutput
ByteArrayDataOutput
implements DataOutput
interface
using byte array buffer.buffer, limit, position
Constructor and Description |
---|
ByteArrayDataOutput()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
toByteArray()
Deprecated.
Returns full copy of bytes buffer from zero to current position.
|
void |
write(byte[] b)
Deprecated.
|
void |
write(byte[] b,
int off,
int len)
Deprecated.
|
void |
write(int b)
Deprecated.
|
void |
writeBoolean(boolean v)
Deprecated.
|
void |
writeByte(int v)
Deprecated.
|
void |
writeBytes(String str)
Deprecated.
|
void |
writeChar(int v)
Deprecated.
|
void |
writeChars(String str)
Deprecated.
|
void |
writeDouble(double v)
Deprecated.
|
void |
writeFloat(float v)
Deprecated.
|
void |
writeInt(int v)
Deprecated.
|
void |
writeLong(long v)
Deprecated.
|
void |
writeShort(int v)
Deprecated.
|
void |
writeUTF(String str)
Deprecated.
|
clear, copy, ensureCapacity, expandLimit, getBuffer, getLimit, getPosition, setBuffer, setLimit, setPosition
public byte[] toByteArray()
public void write(int b) throws IOException
write
in interface DataOutput
IOException
public void write(byte[] b) throws IOException
write
in interface DataOutput
IOException
public void write(byte[] b, int off, int len) throws IOException
write
in interface DataOutput
IOException
public void writeBoolean(boolean v) throws IOException
writeBoolean
in interface DataOutput
IOException
public void writeByte(int v) throws IOException
writeByte
in interface DataOutput
IOException
public void writeShort(int v) throws IOException
writeShort
in interface DataOutput
IOException
public void writeChar(int v) throws IOException
writeChar
in interface DataOutput
IOException
public void writeInt(int v) throws IOException
writeInt
in interface DataOutput
IOException
public void writeLong(long v) throws IOException
writeLong
in interface DataOutput
IOException
public void writeFloat(float v) throws IOException
writeFloat
in interface DataOutput
IOException
public void writeDouble(double v) throws IOException
writeDouble
in interface DataOutput
IOException
public void writeBytes(String str) throws IOException
writeBytes
in interface DataOutput
IOException
public void writeChars(String str) throws IOException
writeChars
in interface DataOutput
IOException
public void writeUTF(String str) throws IOException
writeUTF
in interface DataOutput
IOException
Copyright © 2002–2025 Devexperts LLC. All rights reserved.