Documentation
¶
Overview ¶
Package sqlite3 decodes the SQLite-3 file format
Index ¶
Constants ¶
View Source
const ( BTreeInteriorIndexKind = zeroDataKind BTreeInteriorTableKind = leafDataKind | intKeyKind BTreeLeafIndexKind = zeroDataKind | leafKind BTreeLeafTableKind = leafDataKind | intKeyKind | leafKind )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Column ¶
type Column struct {
// contains filtered or unexported fields
}
Column describes a column in a SQLite table
type DbFile ¶
type DbFile struct {
// contains filtered or unexported fields
}
type Record ¶
type Record struct {
Header RecordHeader
Body []byte
Values []interface{}
}
type RecordHeader ¶
type RecordHeader struct {
Len int
Types []SerialType
}
type SerialType ¶
type SerialType int
SerialType represents SQLite types on disk
const ( StNull SerialType = iota StInt8 StInt16 StInt24 StInt32 StInt48 StInt64 StFloat StC0 StC1 StBlob SerialType = 12 StText = 13 )
func (SerialType) IsBlob ¶
func (st SerialType) IsBlob() bool
func (SerialType) IsText ¶
func (st SerialType) IsText() bool
func (SerialType) NBytes ¶
func (st SerialType) NBytes() int
NBytes returns the number of bytes on disk for this SerialType NBytes returns -1 if the SerialType is invalid.
func (SerialType) String ¶
func (st SerialType) String() string
Click to show internal directories.
Click to hide internal directories.