[]
Writes a byte to the stream. Prior to writing, the stream is realigned at the byte level.
public void write(int b)
Type | Name | Description |
---|---|---|
int | b | The byte to write. The lower 8 bits of b are written. |
Writes a byte to the stream. Prior to writing, the stream is realigned at the byte level.
public void write(byte b)
Type | Name | Description |
---|---|---|
byte | b | The byte to write. |
Writes aan array of bytes to the stream. Prior to writing, the stream is realigned at the byte level.
public void write(byte[] b, int offset, int length)
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 |