@drupflare/workforce - v0.3.0
    Preparing search index...

    Function toBytes

    • accepts a string for the caller, so nobody has to build a TextEncoder to ship one file

      Parameters

      • value: string | Uint8Array<ArrayBufferLike>

      Returns Uint8Array