MCPcopy Create free account
hub / github.com/IceFireDB/IceFireDB / Uint32ToBytes

Function Uint32ToBytes

IceFireDB-SQLite/pkg/mysql/mysql/util.go:242–249  ·  view source on GitHub ↗
(n uint32)

Source from the content-addressed store, hash-verified

240}
241
242func Uint32ToBytes(n uint32) []byte {
243 return []byte{
244 byte(n),
245 byte(n >> 8),
246 byte(n >> 16),
247 byte(n >> 24),
248 }
249}
250
251func Uint64ToBytes(n uint64) []byte {
252 return []byte{

Callers 3

DumpMethod · 0.70
writeMethod · 0.50
writePrepareMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected