Top Fields Constructors Methods
org.eclipse.swt.internal.image

pack-priv final Class LEDataOutputStream

extends OutputStream
Class Inheritance
Imports
java.io.*

Field Summary

Modifier and TypeField and Description
pack-priv OutputStream

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
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.OutputStream.write.

Write the specified number of bytes of the given byte array, starting at the specified offset, to the output stream.
public void
write(int
the byte.
b
)

Implements abstract java.io.OutputStream.write.

Write the given byte to the output stream.
public void
writeByte(byte b)

Write the given byte to the output stream.

public void
writeInt(int theInt)

Write the four bytes of the given integer to the output stream.

public void
writeShort(int theShort)

Write the two bytes of the given short to the output stream.

Inherited from java.io.OutputStream:
closeflushnullOutputStreamwrite

Field Detail

outback to summary
pack-priv OutputStream out

Constructor Detail

LEDataOutputStreamback to summary
public LEDataOutputStream(OutputStream output)

Method Detail

writeback to summary
public void write(byte[] b, int off, int len) throws IOException

Overrides java.io.OutputStream.write.

Write the specified number of bytes of the given byte array, starting at the specified offset, to the output stream.

Parameters
b:byte[]

Doc from java.io.OutputStream.write.

the data.

off:int

Doc from java.io.OutputStream.write.

the start offset in the data.

len:int

Doc from java.io.OutputStream.write.

the number of bytes to write.

Annotations
@Override
Exceptions
IOException:

Doc from java.io.OutputStream.write.

if an I/O error occurs. In particular, an IOException is thrown if the output stream is closed.

writeback to summary
public void write(int b) throws IOException

Implements abstract java.io.OutputStream.write.

Write the given byte to the output stream.

Parameters
b:int

Doc from java.io.OutputStream.write.

the byte.

Annotations
@Override
Exceptions
IOException:

Doc from java.io.OutputStream.write.

if an I/O error occurs. In particular, an IOException may be thrown if the output stream has been closed.

writeByteback to summary
public void writeByte(byte b) throws IOException

Write the given byte to the output stream.

writeIntback to summary
public void writeInt(int theInt) throws IOException

Write the four bytes of the given integer to the output stream.

writeShortback to summary
public void writeShort(int theShort) throws IOException

Write the two bytes of the given short to the output stream.