@Override public final char getChar() { int newPosition = position + SizeOf.CHAR; if (newPosition > limit) { throw new BufferUnderflowException(); } char result = (char) this.block.peekShort(offset + position, order); position = newPosition; return result; }
@Override public final short getShort() { int newPosition = position + SizeOf.SHORT; if (newPosition > limit) { throw new BufferUnderflowException(); } short result = this.block.peekShort(offset + position, order); position = newPosition; return result; }
@Override public final char getChar(int index) { checkIndex(index, SizeOf.CHAR); return (char) this.block.peekShort(offset + index, order); }
@Override public final short getShort(int index) { checkIndex(index, SizeOf.SHORT); return this.block.peekShort(offset + index, order); }
@Override public final char getChar() { int newPosition = position + SizeOf.CHAR; if (newPosition > limit) { throw new BufferUnderflowException(); } char result = (char) this.block.peekShort(offset + position, order); position = newPosition; return result; }
@Override public final char getChar() { int newPosition = position + SizeOf.CHAR; if (newPosition > limit) { throw new BufferUnderflowException(); } char result = (char) this.block.peekShort(offset + position, order); position = newPosition; return result; }
@Override public final char getChar() { int newPosition = position + SizeOf.CHAR; if (newPosition > limit) { throw new BufferUnderflowException(); } char result = (char) this.block.peekShort(offset + position, order); position = newPosition; return result; }
@Override public final short getShort() { int newPosition = position + SizeOf.SHORT; if (newPosition > limit) { throw new BufferUnderflowException(); } short result = this.block.peekShort(offset + position, order); position = newPosition; return result; }
@Override public final short getShort() { int newPosition = position + SizeOf.SHORT; if (newPosition > limit) { throw new BufferUnderflowException(); } short result = this.block.peekShort(offset + position, order); position = newPosition; return result; }
@Override public final short getShort() { int newPosition = position + SizeOf.SHORT; if (newPosition > limit) { throw new BufferUnderflowException(); } short result = this.block.peekShort(offset + position, order); position = newPosition; return result; }
@Override public final char getChar(int index) { checkIndex(index, SizeOf.CHAR); return (char) this.block.peekShort(offset + index, order); }
@Override public final short getShort() { int newPosition = position + SizeOf.SHORT; if (newPosition > limit) { throw new BufferUnderflowException(); } short result = this.block.peekShort(offset + position, order); position = newPosition; return result; }
@Override public final char getChar() { int newPosition = position + SizeOf.CHAR; if (newPosition > limit) { throw new BufferUnderflowException(); } char result = (char) this.block.peekShort(offset + position, order); position = newPosition; return result; }
@Override public final char getChar() { int newPosition = position + SizeOf.CHAR; if (newPosition > limit) { throw new BufferUnderflowException(); } char result = (char) this.block.peekShort(offset + position, order); position = newPosition; return result; }
@Override public final char getChar() { int newPosition = position + SizeOf.CHAR; if (newPosition > limit) { throw new BufferUnderflowException(); } char result = (char) this.block.peekShort(offset + position, order); position = newPosition; return result; }
@Override public final short getShort() { int newPosition = position + SizeOf.SHORT; if (newPosition > limit) { throw new BufferUnderflowException(); } short result = this.block.peekShort(offset + position, order); position = newPosition; return result; }
@Override public final short getShort() { int newPosition = position + SizeOf.SHORT; if (newPosition > limit) { throw new BufferUnderflowException(); } short result = this.block.peekShort(offset + position, order); position = newPosition; return result; }
@Override public final short getShort(int index) { checkIndex(index, SizeOf.SHORT); return this.block.peekShort(offset + index, order); }
@Override public final char getChar(int index) { checkIndex(index, SizeOf.CHAR); return (char) this.block.peekShort(offset + index, order); }
@Override public final short getShort(int index) { checkIndex(index, SizeOf.SHORT); return this.block.peekShort(offset + index, order); }