public void resize(int sizeBytes, int size) {
		assert sizeBytes > 0 && size > 0;
		int oldSizeBytes = this.sizeBytes;
		address = $.reallocateMemory(address, sizeBytes);
		if (sizeBytes > oldSizeBytes)
			$.setMemory(address + oldSizeBytes, address + sizeBytes, (byte) 0);
		this.sizeBytes = sizeBytes;
		this.size = size;
	}