public void writeMemory(
      final long offset, final long length, final Bytes value, final boolean explicitMemoryUpdate) {
    memory.setBytes(offset, length, value);
    if (explicitMemoryUpdate) {
      setUpdatedMemory(offset, 0, length, value);
    }
  }
Write bytes to memory

@param offset The offset in memory
@param length The length of the bytes to write
@param value The value to write
@param explicitMemoryUpdate true if triggered by a memory opcode, false otherwise
evm/src/main/java/org/hyperledger/besu/evm/frame/MessageFrame.java