< prev index next >
src/java.base/share/classes/jdk/internal/jimage/ImageStream.java
Print this page
@@ -114,11 +114,11 @@
public int get() {
return buffer.get() & 0xFF;
}
- public void get(byte bytes[], int offset, int size) {
+ public void get(byte[] bytes, int offset, int size) {
buffer.get(bytes, offset, size);
}
public int getShort() {
return buffer.getShort();
@@ -141,11 +141,11 @@
public ImageStream put(int byt) {
return put((byte)byt);
}
- public ImageStream put(byte bytes[], int offset, int size) {
+ public ImageStream put(byte[] bytes, int offset, int size) {
ensure(size);
buffer.put(bytes, offset, size);
return this;
}
< prev index next >