bendonnect-rpc
Releases (1)
-
0.1.0.0 indexed
Definitions (710)
src/error.bend
- def strs_push
- def strs_of
- def meta_set
- def meta_map
- def meta_val
- def meta_of
- def err_valabsent error is fine (Some None); present-but-invalid error is None.
- def err_of
- def end_build
- def end_fields
- def end_from_json
- def end_decode.val
- def end_decode{"error":null}, {"error":{}} and {"error":{"code":null}} are invalid (None).
src/metadata.bend
- def trailer_prefix
- def trailers_to_headers.go
- def trailers_to_headersEvery key gets the "trailer-" prefix (unary responses carry trailers as headers).
- def bool_eqAdds k (with prefix stripped when want) when its prefix status equals want.
- def split.add
- def split.go
- def split_trailers(non-trailer headers, trailers with the "trailer-" prefix stripped)
- def is_reservedKeys starting with "connect-" belong to the protocol.
- def is_binaryKeys ending in "-bin" carry base64 values.
- def key_char
- def key_chars
- def valid_key1*[0-9a-z_.-]
src/pb.bend
- def max_size
- def max_depth
- def rev
- def cat
- def cat.all
- def pick.then
- def word64.of_u32
- def word64.of_i32Sign-extends a 32-bit two's complement value.
- def word64.hi
- def word64.lo
- def word64.is_zero
- def word64.eq
- def word64.is_negTrue when the sign bit (bit 63) is set.
- def word64.negTwo's complement negation.
- def word64.shlLogical shifts, n in 0..63.
- def word64.shr
- type DmDecimal conversion works on 16-bit limbs so every intermediate fits in U32.
- type Qr
- def dm.step
- def dm.d
- def dm.c
- def dm.b
- def dm.a
- def dm.q
- def dm.r
- def word64.divmod10
- def show_u.go
- def word64.show_uUnsigned decimal text.
- def show_s.go
- def word64.show_sSigned (two's complement) decimal text.
- type Acc
- type Kc
- def ma.step
- def ma.d
- def ma.c
- def ma.b
- def ma.a
- def word64.muladd10w * 10 + d (d < 10), with an overflow flag.
- def acc.w
- def acc.o
- def read_u.go
- def word64.read_uDecimal digits -> Word64; None on empty input, a non-digit, or overflow past 2^64-1.
- def read_s.neg
- def read_s.pos
- def read_s.go
- def word64.read_sOptional '-' then decimal digits -> two's complement Word64; None when it does not fit in int64.
- def codes.to_chars
- def chars.to_codes
- def bytes.of_listOne byte per cell (only the low 8 bits of each cell are kept).
- def bytes.to_list
- def string.encodeUTF-8 (lone surrogates and out-of-range code points are replaced by U+FFFD).
- def lift2
- def lift1
- def string.decodeStrict UTF-8 decoding.
- def zigzag32
- def unzigzag32
- def zigzag64
- def unzigzag64
- def f32.bits
- def f32.of_bits
- def msb.gofloor(log2 m) for m >= 1 (0 for m = 0).
- def msb
- def double.of_f32bitsIEEE binary32 bits -> binary64 bits (exact).
- def double.f32bitsIEEE binary64 bits -> binary32 bits, round to nearest even (overflow -> infinity, tiny -> zero).
- def double.bitsF32 <-> 64-bit wire bits.
- def double.of_bits
- def decode
- def encode.fin
- def encodeNever fails for well-formed field numbers (1..536870911); a bad field number yields empty bytes.
- def value.double
- def value.float
- def value.int32
- def value.int64
- def value.uint32
- def value.uint64