Interface BinaryValueSetter


public interface BinaryValueSetter
  • Method Summary

    Modifier and Type Method Description
    long setValueToMemory​(long address, Object target, long targetOffset, PersistenceLoadHandler handler)
    Sets a single value, read from binary (persisted) form at the absolute memory addressto the memory so that it can be used by common program logic, usually to the field offset of a target object or an index of a target array.
  • Method Details

    • setValueToMemory

      long setValueToMemory​(long address, Object target, long targetOffset, PersistenceLoadHandler handler)
      Sets a single value, read from binary (persisted) form at the absolute memory addressto the memory so that it can be used by common program logic, usually to the field offset of a target object or an index of a target array. If target is null, the targetOffset is interpreted as an absolute memory address instead of a relative offset.
      Parameters:
      address - the absolute source memory address of the value to be set.
      target - the target object to set the value to or null for absolute memory addressing.
      targetOffset - the target object's relative memory offset or an absolute target memory address.
      handler - a helper instance to resolve OIDs to instance references.
      Returns:
      absolute source memory address pointing at the first byte following the read value.