[]
        
(Showing Draft Content)

CSJ2K.j2k.io.BufferedRandomAccessFile.write

write Method

write(int)

Writes a byte to the stream. Prior to writing, the stream is realigned at the byte level.

Declaration
public void write(int b)
Parameters
Type Name Description
int b

The byte to write. The lower 8 bits of b are written.

write(byte)

Writes a byte to the stream. Prior to writing, the stream is realigned at the byte level.

Declaration
public void write(byte b)
Parameters
Type Name Description
byte b

The byte to write.

Implements

write(byte[], int, int)

Writes aan array of bytes to the stream. Prior to writing, the stream is realigned at the byte level.

Declaration
public void write(byte[] b, int offset, int length)
Parameters
Type Name Description
byte[] b

The array of bytes to write.

int offset

The first byte in b to write

int length

The number of bytes from b to write