public final class LittleEndianByteArrayOutputStream extends java.lang.Object implements LittleEndianOutput, DelayableLittleEndianOutput
LittleEndianOutput
Constructor and Description |
---|
LittleEndianByteArrayOutputStream(byte[] buf,
int startOffset) |
LittleEndianByteArrayOutputStream(byte[] buf,
int startOffset,
int maxWriteLen) |
Modifier and Type | Method and Description |
---|---|
LittleEndianOutput |
createDelayedOutput(int size)
Creates an output stream intended for outputting a sequence of size bytes.
|
int |
getWriteIndex() |
void |
write(byte[] b) |
void |
write(byte[] b,
int offset,
int len) |
void |
writeByte(int v) |
void |
writeDouble(double v) |
void |
writeInt(int v) |
void |
writeLong(long v) |
void |
writeShort(int v) |
public LittleEndianByteArrayOutputStream(byte[] buf, int startOffset, int maxWriteLen)
public LittleEndianByteArrayOutputStream(byte[] buf, int startOffset)
public void writeByte(int v)
writeByte
in interface LittleEndianOutput
public void writeDouble(double v)
writeDouble
in interface LittleEndianOutput
public void writeInt(int v)
writeInt
in interface LittleEndianOutput
public void writeLong(long v)
writeLong
in interface LittleEndianOutput
public void writeShort(int v)
writeShort
in interface LittleEndianOutput
public void write(byte[] b)
write
in interface LittleEndianOutput
public void write(byte[] b, int offset, int len)
write
in interface LittleEndianOutput
public int getWriteIndex()
public LittleEndianOutput createDelayedOutput(int size)
DelayableLittleEndianOutput
createDelayedOutput
in interface DelayableLittleEndianOutput
Copyright © 2005-2010 Potix Corporation. All Rights Reserved.