public final class LittleEndianByteArrayOutputStream extends java.io.OutputStream 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 |
write(int b) |
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(int b)
write
in class java.io.OutputStream
public void write(byte[] b)
write
in interface LittleEndianOutput
write
in class java.io.OutputStream
public void write(byte[] b, int offset, int len)
write
in interface LittleEndianOutput
write
in class java.io.OutputStream
public int getWriteIndex()
public LittleEndianOutput createDelayedOutput(int size)
DelayableLittleEndianOutput
createDelayedOutput
in interface DelayableLittleEndianOutput
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.