mirror of https://github.com/etcd-io/bbolt.git
19 lines
306 B
Go
19 lines
306 B
Go
package bolt
|
|
|
|
const version = 2
|
|
|
|
const (
|
|
maxUint = ^uint(0)
|
|
minUint = 0
|
|
maxInt = int(^uint(0) >> 1)
|
|
minInt = -maxInt - 1
|
|
)
|
|
|
|
const (
|
|
// MaxKeySize is the maximum length of a key, in bytes.
|
|
MaxKeySize = 32768
|
|
|
|
// MaxValueSize is the maximum length of a value, in bytes.
|
|
MaxValueSize = 4294967295
|
|
)
|