diff options
Diffstat (limited to 'branch_node.go')
-rw-r--r-- | branch_node.go | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/branch_node.go b/branch_node.go deleted file mode 100644 index a5bd071..0000000 --- a/branch_node.go +++ /dev/null @@ -1,16 +0,0 @@ -package bolt - -import ( - "unsafe" -) - -const ( - bigNode = 0x01 - subNode = 0x02 - dupNode = 0x04 -) - -// key returns a byte slice that of the key data. -func (n *branchNode) key() []byte { - return (*[MaxKeySize]byte)(unsafe.Pointer(&n.data))[:n.keySize] -} |