@Override public void putBytes(long l, Memory source, long start, long length) { if (source.isDirect()) { putBytes(l, (DirectMemory) source, start, length); } else { source.getBytes(start, this, l, length); } }
@Override public void getBytes(long l, Memory dest, long start, long length) { if (dest.isDirect()) { getBytes(l, (DirectMemory) dest, start, length); } else { dest.putBytes(start, this, l, length); } }