@Override
	public int getBytes(Address address, byte[] bytes, int length) {
		try {
			return memory.getBytes(address, bytes, 0, length);
		}
		catch (MemoryAccessException e) {
			return 0;
		}
	}
{@link AddressableByteSource} implementation for a Ghidra {@link Program}
Ghidra/Features/Base/src/main/java/ghidra/features/base/memsearch/bytesource/ProgramByteSource.java