# Class: com.pnfsoftware.jeb.core.units.code.asm.memory.MemoryWriteEvent

Memory event: a write operation is taking place splace. Such events are issued before and after the write operation.

## Constructor: MemoryWriteEvent
- parameter: `address`, type: `long`
- parameter: `size`, type: `int`
- parameter: `buffer`, type: `byte[]`
- parameter: `bufferOffset`, type: `int`

Description: Create a memory write event.
parameter: address: write address
parameter: size: write size in bytes
parameter: buffer: source buffer
parameter: bufferOffset: offset in the source buffer

## Method: getBuffer
- return type: `byte[]`

Description: Get the source buffer.
return: source buffer

## Method: getBufferOffset
- return type: `int`

Description: Get the source buffer offset.
return: source buffer offset

