public void writeMemory(final long offset, final byte value, final boolean explicitMemoryUpdate) {
    memory.setByte(offset, value);
    if (explicitMemoryUpdate) {
      setUpdatedMemory(offset, Bytes.of(value));
    }
  }
Write byte to memory

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