public final char getChar() {int newPosition = position + SizeOf.CHAR;if (newPosition > limit) {throw new BufferUnderflowException();}char result = (char) Memory.peekShort(backingArray, offset + position, order);position = newPosition;return result;}
public sealed override char getChar(){int newPosition = _position + libcore.io.SizeOf.CHAR;if (newPosition > _limit){throw new java.nio.BufferUnderflowException();}char result = (char)libcore.io.Memory.peekShort(backingArray, offset + _position,_order);_position = newPosition;return result;}