Documentation ¶
Index ¶
Constants ¶
View Source
const ( SingleFrame = uint8(50) + iota MultipartFrameStart MultipartFrame MultipartFrameFinal )
dataFrame type codes
View Source
const MinCommandLength = 35
MaxCommandLength is the maximum number of bytes a command is permitted to be. Note that bulk transfers are not subject to this restriction -- just the initial command.
Variables ¶
View Source
var ErrEmptyData = errors.New("empty data")
View Source
var ErrIO = errors.New("i/o error")
View Source
var ErrInvalidFrame = errors.New("invalid data frame")
View Source
var ErrInvalidMsg = errors.New("invalid message")
View Source
var ErrInvalidMultipartFrame = errors.New("invalid multipart data frame")
View Source
var ErrMultipartSession = errors.New("multipart session error")
View Source
var ErrNoInit = errors.New("not initialized")
View Source
var ErrSize = errors.New("invalid size")
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.