Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HexDump ¶
func HexDump(buffer []byte, annotations []Annotation, writer io.Writer)
HexDump : Returns hexdump of buffer according to annotations, via writer
func HexDumpFromIterator ¶
func HexDumpFromIterator(buffer []byte, annotationsIterator IAnnotationsIterator, writer io.Writer)
HexDumpFromIterator : Returns hexdump of buffer according to annotationsIterator, via writer
Types ¶
type Annotation ¶
Annotation : Denotes a chunk of data to be dumped
type IAnnotationsGenerator ¶
type IAnnotationsGenerator interface {
GenerateAnnotations() []Annotation
}
IAnnotationsGenerator : Interface to implement by types to use HexDump
type IAnnotationsIterator ¶
type IAnnotationsIterator interface {
Next() (Annotation, bool)
}
IAnnotationsIterator : Interface to implement by types to use HexDumpFromIterator
Directories
¶
Path | Synopsis |
---|---|
Package file Filesystem related utilities
|
Package file Filesystem related utilities |
Package httphelper HTTP Error Response Helpers
|
Package httphelper HTTP Error Response Helpers |
Package utc provides helper function to get UTC time
|
Package utc provides helper function to get UTC time |
Click to show internal directories.
Click to hide internal directories.