Documentation ¶
Index ¶
- Variables
- type Item
- func (i *Item) GetCrcValue(data *[]byte) (res int32, err error)
- func (i *Item) GetRowsCount(data *[]byte) (res int32, err error)
- func (i *Item) GetStruct() interface{}
- func (i *Item) GetVersion(data *[]byte) (res int16, err error)
- func (i *Item) SetCrcValue(file *os.File, buff bytes.Buffer) error
- func (i *Item) SetRowsCount(file *os.File, count int) error
- func (i *Item) SetVersion(file *os.File) error
- type ItemSetOption
- func (is *ItemSetOption) GetCrcValue(data *[]byte) (res int32, err error)
- func (is *ItemSetOption) GetRowsCount(data *[]byte) (res int32, err error)
- func (is *ItemSetOption) GetStruct() interface{}
- func (is *ItemSetOption) GetVersion(data *[]byte) (res int16, err error)
- func (is *ItemSetOption) SetCrcValue(file *os.File, buff bytes.Buffer) error
- func (is *ItemSetOption) SetRowsCount(file *os.File, count int) error
- func (is *ItemSetOption) SetVersion(file *os.File) error
- type MoveReq
- func (m *MoveReq) GetCrcValue(data *[]byte) (res int32, err error)
- func (m *MoveReq) GetRowsCount(data *[]byte) (res int32, err error)
- func (m *MoveReq) GetStruct() interface{}
- func (m *MoveReq) GetVersion(data *[]byte) (res int16, err error)
- func (m *MoveReq) SetCrcValue(file *os.File, buff bytes.Buffer) error
- func (m *MoveReq) SetRowsCount(file *os.File, count int) error
- func (m *MoveReq) SetVersion(file *os.File) error
- type Slide
- func (s *Slide) GetCrcValue(data *[]byte) (res int32, err error)
- func (s *Slide) GetRowsCount(data *[]byte) (res int32, err error)
- func (s *Slide) GetStruct() interface{}
- func (s *Slide) GetVersion(data *[]byte) (res int16, err error)
- func (s *Slide) SetCrcValue(file *os.File, buff bytes.Buffer) error
- func (s *Slide) SetRowsCount(file *os.File, count int) error
- func (s *Slide) SetVersion(file *os.File) error
- type Text
- func (t *Text) GetCrcValue(data *[]byte) (res int32, err error)
- func (t *Text) GetRowsCount(data *[]byte) (res int32, err error)
- func (t *Text) GetStruct() interface{}
- func (t *Text) GetVersion(data *[]byte) (res int16, err error)
- func (t *Text) SetCrcValue(file *os.File, buff bytes.Buffer) error
- func (t *Text) SetRowsCount(file *os.File, count int) error
- func (t *Text) SetVersion(file *os.File) error
Constants ¶
This section is empty.
Variables ¶
View Source
var Commands = cli.Command{ Name: "s1", Usage: "Run season 1 file conversion", Subcommands: cli.Commands{ { Name: "text", Usage: "Convert Text file format", Action: func(c *cli.Context) error { return util.CommandAction(c, &Text{}) }, }, { Name: "item", Usage: "Convert Item file format", Action: func(c *cli.Context) error { return util.CommandAction(c, &Item{}) }, }, { Name: "slide", Usage: "Convert Slide file format", Action: func(c *cli.Context) error { return util.CommandAction(c, &Slide{}) }, }, { Name: "item_set_option", Usage: "Convert Item Set Option file format", Action: func(c *cli.Context) error { return util.CommandAction(c, &ItemSetOption{}) }, }, { Name: "movereq", Usage: "Convert Move Req file format", Action: func(c *cli.Context) error { return util.CommandAction(c, &MoveReq{}) }, }, }, }
Functions ¶
This section is empty.
Types ¶
type Item ¶
type Item struct {
bmd.BaseBmdAdapter // inherits methods
}
type ItemSetOption ¶
type ItemSetOption struct {
bmd.BaseBmdAdapter // inherits methods
}
func (*ItemSetOption) GetCrcValue ¶
func (is *ItemSetOption) GetCrcValue(data *[]byte) (res int32, err error)
func (*ItemSetOption) GetRowsCount ¶
func (is *ItemSetOption) GetRowsCount(data *[]byte) (res int32, err error)
func (*ItemSetOption) GetStruct ¶
func (is *ItemSetOption) GetStruct() interface{}
func (*ItemSetOption) GetVersion ¶
func (is *ItemSetOption) GetVersion(data *[]byte) (res int16, err error)
func (*ItemSetOption) SetCrcValue ¶
func (*ItemSetOption) SetRowsCount ¶
func (is *ItemSetOption) SetRowsCount(file *os.File, count int) error
func (*ItemSetOption) SetVersion ¶
func (is *ItemSetOption) SetVersion(file *os.File) error
type MoveReq ¶
type MoveReq struct {
bmd.BaseBmdAdapter // inherits methods
}
type Slide ¶
type Slide struct {
bmd.BaseBmdAdapter // inherits methods
}
type Text ¶
type Text struct {
bmd.BaseBmdAdapter // inherits methods
}
Click to show internal directories.
Click to hide internal directories.