Typeberry by Fluffy Labs - v0.5.2
    Preparing search index...

    Allows store and read segments of memory.

    Implements

    Index

    Constructors

    Methods

    • Read content of the memory at [address, address + result.length) and write the result into the result buffer.

      Returns null if the data was read successfully or PageFault otherwise.

      Parameters

      • result: Uint8Array
      • startAddress: number & WithOpaque<"memory index">

      Returns Result<typeof OK, PageFault>