1 7 8 package javax.imageio.stream; 9 10 24 public class IIOByteBuffer { 25 26 private byte[] data; 27 28 private int offset; 29 30 private int length; 31 32 41 public IIOByteBuffer(byte[] data, int offset, int length) { 42 this.data = data; 43 this.offset = offset; 44 this.length = length; 45 } 46 47 59 public byte[] getData() { 60 return data; 61 } 62 63 71 public void setData(byte[] data) { 72 this.data = data; 73 } 74 75 85 public int getOffset() { 86 return offset; 87 } 88 89 97 public void setOffset(int offset) { 98 this.offset = offset; 99 } 100 101 111 public int getLength() { 112 return length; 113 } 114 115 123 public void setLength(int length) { 124 this.length = length; 125 } 126 } 127 | Popular Tags |