Home
last modified time | relevance | path

Searched refs:cborType (Results 1 – 3 of 3) sorted by relevance

/dports/www/gitea/gitea-1.16.5/vendor/github.com/fxamacker/cbor/v2/
H A Dvalid.go56 t cborType
160 if cborType(d.data[d.off]&0xe0) != cborTypeTag {
178 func (d *decoder) validIndefiniteString(t cborType, depth int) (int, error) { argument
189 nt := cborType(d.data[d.off] & 0xe0)
204 func (d *decoder) validIndefiniteArrayOrMap(t cborType, depth int) (int, error) { argument
240 func (d *decoder) validHead() (t cborType, ai byte, val uint64, err error) {
246 t = cborType(d.data[d.off] & 0xe0)
H A Ddecode.go512 type cborType uint8 type
515 cborTypePositiveInt cborType = 0x00
516 cborTypeNegativeInt cborType = 0x20
517 cborTypeByteString cborType = 0x40
518 cborTypeTextString cborType = 0x60
519 cborTypeArray cborType = 0x80
520 cborTypeMap cborType = 0xa0
521 cborTypeTag cborType = 0xc0
522 cborTypePrimitives cborType = 0xe0
525 func (t cborType) String() string {
[all …]
H A Dstream.go88 indefTypes []cborType
162 var cborIndefHeader = map[cborType][]byte{
169 func (enc *Encoder) startIndefinite(typ cborType) error {