Documentation
¶
Index ¶
- Variables
- func BytesToEdgeList(b []byte) []uint64
- func BytesToSingleFloat32(b []byte) float32
- func BytesToUint64(b []byte) uint64
- func EdgeListToBytes(edges []uint64) []byte
- func NodeIdFromKey(key []byte, suffix byte) (uint64, bool)
- func NodeKey(id uint64, suffix byte) []byte
- func SingleFloat32ToBytes(f float32) []byte
- func Uint64ToBytes(i uint64) []byte
Constants ¶
This section is empty.
Variables ¶
View Source
var BytesToFloat32 func([]byte) []float32 = bytesToFloat32Safe
View Source
var Float32ToBytes func([]float32) []byte = float32ToBytesSafe
Functions ¶
func BytesToEdgeList ¶
func BytesToSingleFloat32 ¶
func BytesToUint64 ¶
func EdgeListToBytes ¶
func NodeIdFromKey ¶
Checks if a given key and suffix is a valid a node key and returns the id.
func SingleFloat32ToBytes ¶
func Uint64ToBytes ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.