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