Top Fields Constructors Methods
org.apache.poi.util

public final Class LittleEndianOutputStream

extends FilterOutputStream
implements LittleEndianOutput
Class Inheritance
All Implemented Interfaces
org.apache.poi.util.LittleEndianOutput
Imports
java.io.FilterOutputStream, .IOException, .OutputStream

Field Summary

Inherited from java.io.FilterOutputStream:
out

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
putUShort(int
the unsigned short (16-bit) value
value
)

Put unsigned short into output stream

public void
write(byte[]
the data to be written.
b
)

Overrides java.io.FilterOutputStream.write.

Implements org.apache.poi.util.LittleEndianOutput.write.

Writes b.length bytes to this output stream.

public void
write(byte[]
the data.
b
,
int
the start offset in the data.
off
,
int
the number of bytes to write.
len
)

Overrides java.io.FilterOutputStream.write.

Implements org.apache.poi.util.LittleEndianOutput.write.

Writes len bytes from the specified byte array starting at offset off to this output stream.

public void
public void
public void
public void
public void
public void
writeUInt(long
the int (32-bit) value
value
)

Put unsigned int into output stream

Inherited from java.io.FilterOutputStream:
closeflushwrite

Constructor Detail

LittleEndianOutputStreamback to summary
public LittleEndianOutputStream(OutputStream out)

Method Detail

putUShortback to summary
public void putUShort(int value)

Put unsigned short into output stream

Parameters
value:int

the unsigned short (16-bit) value

writeback to summary
public void write(byte[] b)

Overrides java.io.FilterOutputStream.write.

Implements org.apache.poi.util.LittleEndianOutput.write.

Doc from java.io.FilterOutputStream.write.

Writes b.length bytes to this output stream.

Parameters
b:byte[]

the data to be written.

Annotations
@Override
writeback to summary
public void write(byte[] b, int off, int len)

Overrides java.io.FilterOutputStream.write.

Implements org.apache.poi.util.LittleEndianOutput.write.

Doc from java.io.FilterOutputStream.write.

Writes len bytes from the specified byte array starting at offset off to this output stream.

Parameters
b:byte[]

the data.

off:int

the start offset in the data.

len:int

the number of bytes to write.

Annotations
@Override
writeByteback to summary
public void writeByte(int v)

Implements org.apache.poi.util.LittleEndianOutput.writeByte.

Annotations
@Override
writeDoubleback to summary
public void writeDouble(double v)

Implements org.apache.poi.util.LittleEndianOutput.writeDouble.

Annotations
@Override
writeIntback to summary
public void writeInt(int v)

Implements org.apache.poi.util.LittleEndianOutput.writeInt.

Annotations
@Override
writeLongback to summary
public void writeLong(long v)

Implements org.apache.poi.util.LittleEndianOutput.writeLong.

Annotations
@Override
writeShortback to summary
public void writeShort(int v)

Implements org.apache.poi.util.LittleEndianOutput.writeShort.

Annotations
@Override
writeUIntback to summary
public void writeUInt(long value)

Put unsigned int into output stream

Parameters
value:long

the int (32-bit) value