Typeberry by Fluffy Labs - v0.4.0
    Preparing search index...
    Index

    Constructors

    Methods

    • Create entire readable pages to handle the [start, end) range.

      Note that both start and end must be multiple of the PAGE_SIZE, i.e. they need to be the start indices of the pages.

      The data passed will be placed at start, but might be shorter than the requested range, prepend it with zeros if you don't wish to have it at the beginning of the page.

      Parameters

      Returns MemoryBuilder

    • Create entire writeable pages to handle the [start, end) range.

      Note that both start and end must be multiple of the PAGE_SIZE, i.e. they need to be the start indices of the pages.

      The data passed will be placed at start, but might be shorter than the requested range, prepend it with zeros if you don't wish to have it at the beginning of the page.

      Parameters

      Returns MemoryBuilder