MCPcopy Create free account

hub / github.com/2tvenom/cbor / functions

Functions23 in github.com/2tvenom/cbor

↓ 7 callersFunctionpack
** Helper for packing Go objects. Like in C, PHP function pack() */
cbor.go:720
↓ 6 callersMethodencodeValue
(variable interface{})
cbor.go:91
↓ 6 callersFunctionpackNumber
** Pack number helper */
cbor.go:683
↓ 5 callersFunctionpackInitByte
** Pack initial bye */
cbor.go:735
↓ 5 callersFunctionunpack
(byteBuff []byte, target interface{})
cbor.go:398
↓ 4 callersFunctiondecodeInt
decode int
cbor.go:366
↓ 2 callersFunctionNewEncoder
NewEncoder creates new encoder object
cbor.go:76
↓ 2 callersMethodencodeFloat
** Encoding float32/float64 */
cbor.go:407
↓ 1 callersMethodMarshal
(value interface{})
cbor.go:80
↓ 1 callersMethodUnmarshal
(data []byte, v interface{})
cbor.go:120
↓ 1 callersFunctioncheckReflectWithCbor
(reflecType reflect.Type, cborType byte)
cbor.go:141
↓ 1 callersMethoddecode
(v reflect.Value)
cbor.go:152
↓ 1 callersMethodencodeArray
Encode array to CBOR binary string
cbor.go:484
↓ 1 callersMethodencodeBool
** encode */
cbor.go:462
↓ 1 callersMethodencodeMap
Encode map to CBOR binary string
cbor.go:584
↓ 1 callersMethodencodeNil
** encoding nil */
cbor.go:450
↓ 1 callersMethodencodeNumber
** Encode integer to CBOR binary string */
cbor.go:654
↓ 1 callersMethodencodeString
** Encode string to CBOR binary string */
cbor.go:621
↓ 1 callersMethodencodeStruct
ecnode struct
cbor.go:512
↓ 1 callersFunctionintTypeToCborType
** Get CBOR additional info type for number */
cbor.go:742
↓ 1 callersFunctionlookupField
(field string, fieldList []string)
cbor.go:353
FunctionTestDecode
(t *testing.T)
cbor_test.go:42
FunctionTestEncode
(t *testing.T)
cbor_test.go:34