Documentation ¶
Overview ¶
Package mmdbtype provides types used within the MaxMind DB format.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataType ¶
type DataType interface { Copy() DataType Equal(DataType) bool WriteTo(writer) (int64, error) // contains filtered or unexported methods }
DataType represents a MaxMind DB data type.
type Pointer ¶
type Pointer uint32
Pointer is the MaxMind DB pointer type for internal use in the writer. You should not use this type in data structures that you pass to methods on mmdbwriter.Tree. Doing so may result in a corrupt database.
func (Pointer) WrittenSize ¶
WrittenSize is the actual total size of the pointer in the database data section.
Click to show internal directories.
Click to hide internal directories.