MCPcopy
hub / github.com/go-sql-driver/mysql / getUint24

Function getUint24

utils.go:501–503  ·  utils.go::getUint24
(data []byte)

Source from the content-addressed store, hash-verified

499}
500
501func getUint24(data []byte) int {
502 return int(data[2])<<16 | int(data[1])<<8 | int(data[0])
503}
504
505func uint64ToString(n uint64) []byte {
506 var a [20]byte

Callers 3

readPacketMethod · 0.85
readLengthEncodedIntegerFunction · 0.85
readCompressedPacketMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected