Documentation ¶
Overview ¶
Package hex encodes/decodes Agent messages
Index ¶
Constants ¶
View Source
const ( BYTE = 0 STRING = 1 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Coder ¶
type Coder struct {
// contains filtered or unexported fields
}
func NewEncoder ¶
NewEncoder is a factory that returns a structure that implements the Transformer interface
func (*Coder) Construct ¶
Construct takes in data, hex encodes it, and returns the encoded data as bytes
func (*Coder) Deconstruct ¶
Deconstruct takes in bytes and hex decodes it to its original type
Click to show internal directories.
Click to hide internal directories.