Documentation ¶
Index ¶
- Variables
- func GetCrcValue(data *[]byte) (res int32, err error)
- func GetRowsCount(data *[]byte) (res int32, err error)
- func GetVersion(data *[]byte) (res int16, err error)
- func SetCrcValue(file *os.File, buff bytes.Buffer, keyVal uint32) error
- func SetRowsCount(file *os.File, count int) error
- func SetVersion(file *os.File, version int) error
- type BaseBmdAdapter
- type BaseBmdInfo
Constants ¶
This section is empty.
Variables ¶
View Source
var (
XorKey = []byte{0xFC, 0xCF, 0xAB}
)
Functions ¶
func GetCrcValue ¶
func GetRowsCount ¶
func GetVersion ¶
Types ¶
type BaseBmdAdapter ¶
type BaseBmdAdapter interface { GetStruct() interface{} GetVersion(data *[]byte) (res int16, err error) GetRowsCount(data *[]byte) (res int32, err error) GetCrcValue(data *[]byte) (res int32, err error) SetVersion(f *os.File) error SetRowsCount(f *os.File, count int) error SetCrcValue(f *os.File, b bytes.Buffer) error }
type BaseBmdInfo ¶
type BaseBmdInfo struct {
// contains filtered or unexported fields
}
func NewBmdInfo ¶
func NewBmdInfo(b BaseBmdAdapter) *BaseBmdInfo
Click to show internal directories.
Click to hide internal directories.