diff options
Diffstat (limited to 'const.go')
-rw-r--r-- | const.go | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/const.go b/const.go new file mode 100644 index 0000000..3bbb8dc --- /dev/null +++ b/const.go @@ -0,0 +1,15 @@ +package bolt + +const Version = 1 + +const magic int32 = 0xBEEFC0DE + +const ( + MaxKeySize = 511 + MaxDataSize = 0xffffffff +) + +const ( + DefaultMapSize = 1048576 + DefaultReaderCount = 126 +) |