Key returns a byte slice of the node key.
()
| 254 | |
| 255 | // Key returns a byte slice of the node key. |
| 256 | func (n *branchPageElement) Key() []byte { |
| 257 | return UnsafeByteSlice(unsafe.Pointer(n), 0, int(n.pos), int(n.pos)+int(n.ksize)) |
| 258 | } |
| 259 | |
| 260 | // leafPageElement represents a node on a leaf page. |
| 261 | type leafPageElement struct { |
nothing calls this directly
no test coverage detected