Documentation
¶
Index ¶
Constants ¶
View Source
const (
ItemNotFound = ItemID(-1)
)
Variables ¶
This section is empty.
Functions ¶
func Deserialize ¶
func Deserialize(obj DoubleArray, id ItemID, inverse InverseID) string
Types ¶
type DoubleArray ¶
type DoubleArray interface {
Serialize() ([]byte, error)
Lookup(key []rune) ItemID
Scan(text []rune, callback func(i, j int, id ItemID))
}
func NewDoubleArray ¶
func NewDoubleArray(data []Item) (DoubleArray, error)
func NewDoubleArrayFromBytes ¶
func NewDoubleArrayFromBytes(data []byte) (DoubleArray, error)
type InverseID ¶
func ToInverseID ¶
func ToInverseID(da DoubleArray) InverseID
Source Files
¶
Click to show internal directories.
Click to hide internal directories.