y does not support keys longer than 127 bytes - open a PR!';

            const payloadBytes = 3 + bucket.length + keyBuf.length + value.length;
            if (payloadBytes > 127) throw 'this example currently does not support request payloads longer than 127 bytes - open a PR!';

            let buf = new Uint8Array([
                0,
                'wasi:keyvalue/store@0.2.0-draft2'.length,
                ...text.encode('wasi:keyvalue/store@0.2.0-draft2'),
                'bucket.set'.length,
       