NodeOPCUA API Documentation
    Preparing search index...

    Class MemoryNodesetImageStore

    an in-memory store: for browsers, tests, and a process that loads the same files repeatedly. The size cap counts the compressed bytes, which is all the store retains per entry: the loader inflates an image for one load and lets the lines go afterwards

    Implements

    Index
    • Parameters

      • OptionalmaxBytes: number

      Returns MemoryNodesetImageStore

    • get size(): number

      Returns number

    • the image stored under key, or undefined

      Parameters

      • key: string

      Returns Promise<Uint8Array<ArrayBufferLike> | undefined>

    • Returns string[]

    • keep image under key; a store may drop older images to stay within its size

      Parameters

      • key: string
      • image: Uint8Array

      Returns Promise<void>