stream";
                            return
                        case 1:
                            if (buf.length < 4) throw 'unexpected EOF';
                            // error
                            switch (buf[3]) {
                                case 0:
                                    throw "no such store";
                                case 1:
                                    throw "access denied";
                                case 2:
                                    const e