Module pico8lib.memory

Reading, writing, manipulating memory

Local Functions

memcpy4 (dst, src, len) Copy a block of memory from src to dst
memcpy (dst, src, len) Copy a block of memory from src to dst
memcmp4 (a, b, l) Compare two regions of memory
memcmp (a, b, l) Compare two regions of memory


Local Functions

memcpy4 (dst, src, len)
Copy a block of memory from src to dst

Parameters:

  • dst The offset to copy to
  • src The offset to copy from
  • len The number of bytes to copy (must be a multiple of 4)

Returns:

    null
memcpy (dst, src, len)
Copy a block of memory from src to dst

Parameters:

  • dst
  • src
  • len
memcmp4 (a, b, l)
Compare two regions of memory

Parameters:

  • a number First starting memory address
  • b number Second starting memory address
  • l number Length of regions to compare (must be a multiple of 4)

Returns:

    boolean True iff the regions are identical
memcmp (a, b, l)
Compare two regions of memory

Parameters:

  • a number First starting memory address
  • b number Second starting memory address
  • l number Length of regions to compare

Returns:

    boolean True iff the regions are identical
generated by LDoc 1.5.0 Last updated 2024-09-08 14:28:56