@Override
	public void setShort(BigInteger index, short value) throws ByteBlockAccessException {
		Address addr = getAddress(index);
		checkEditsAllowed(addr, 2);
		try {
			memory.setShort(addr, value, bigEndian);
		}
		catch (MemoryAccessException e) {
			throw new ByteBlockAccessException(e.getMessage());
		}
	}
Set the short at the given index.

@param index byte index
@param value value to set
@throws ByteBlockAccessException if the block cannot be updated
@throws IndexOutOfBoundsException if the given index is not in this block.
Ghidra/Features/ByteViewer/src/main/java/ghidra/app/plugin/core/byteviewer/MemoryByteBlock.java