MCPcopy Create free account
hub / github.com/apache/iotdb-client-go / int64ToBytes

Function int64ToBytes

client/utils.go:179–183  ·  view source on GitHub ↗
(n int64)

Source from the content-addressed store, hash-verified

177}
178
179func int64ToBytes(n int64) []byte {
180 bytesBuffer := bytes.NewBuffer([]byte{})
181 binary.Write(bytesBuffer, binary.BigEndian, n)
182 return bytesBuffer.Bytes()
183}
184
185func bytesToInt32(bys []byte) int32 {
186 bytesBuffer := bytes.NewBuffer(bys)

Callers 1

Test_bytesToInt64Function · 0.85

Calls 1

WriteMethod · 0.45

Tested by 1

Test_bytesToInt64Function · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…