public interface HelloWorld
hello, world\n.| Modifier and Type | Field and Description |
|---|---|
static int |
BYTES
The number of bytes required for encoding
hello, world\n in
US-ASCII character set. |
| Modifier and Type | Method and Description |
|---|---|
void |
get(byte[] array,
int offset)
Sets 13 US-ASCII encoded bytes representing
hello, world\n on given array starting at specified offset. |
static final int BYTES
hello, world\n in
US-ASCII character set.void get(byte[] array,
int offset)
hello, world\n on given array starting at specified offset.
A NullPointerException will be thrown if array is
null.
An IllegalArgumentException will be thrown if offset is
negative or offset+13 is greater than
array.length.
array - the array to be set.offset - the start offset in the array.Copyright © 2014. All Rights Reserved.