Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/2tvenom/cbor
/ functions
Functions
23 in github.com/2tvenom/cbor
⨍
Functions
23
◇
Types & classes
3
↓ 7 callers
Function
pack
** Helper for packing Go objects. Like in C, PHP function pack() */
cbor.go:720
↓ 6 callers
Method
encodeValue
(variable interface{})
cbor.go:91
↓ 6 callers
Function
packNumber
** Pack number helper */
cbor.go:683
↓ 5 callers
Function
packInitByte
** Pack initial bye */
cbor.go:735
↓ 5 callers
Function
unpack
(byteBuff []byte, target interface{})
cbor.go:398
↓ 4 callers
Function
decodeInt
decode int
cbor.go:366
↓ 2 callers
Function
NewEncoder
NewEncoder creates new encoder object
cbor.go:76
↓ 2 callers
Method
encodeFloat
** Encoding float32/float64 */
cbor.go:407
↓ 1 callers
Method
Marshal
(value interface{})
cbor.go:80
↓ 1 callers
Method
Unmarshal
(data []byte, v interface{})
cbor.go:120
↓ 1 callers
Function
checkReflectWithCbor
(reflecType reflect.Type, cborType byte)
cbor.go:141
↓ 1 callers
Method
decode
(v reflect.Value)
cbor.go:152
↓ 1 callers
Method
encodeArray
Encode array to CBOR binary string
cbor.go:484
↓ 1 callers
Method
encodeBool
** encode */
cbor.go:462
↓ 1 callers
Method
encodeMap
Encode map to CBOR binary string
cbor.go:584
↓ 1 callers
Method
encodeNil
** encoding nil */
cbor.go:450
↓ 1 callers
Method
encodeNumber
** Encode integer to CBOR binary string */
cbor.go:654
↓ 1 callers
Method
encodeString
** Encode string to CBOR binary string */
cbor.go:621
↓ 1 callers
Method
encodeStruct
ecnode struct
cbor.go:512
↓ 1 callers
Function
intTypeToCborType
** Get CBOR additional info type for number */
cbor.go:742
↓ 1 callers
Function
lookupField
(field string, fieldList []string)
cbor.go:353
Function
TestDecode
(t *testing.T)
cbor_test.go:42
Function
TestEncode
(t *testing.T)
cbor_test.go:34