Documentation
¶
Index ¶
Constants ¶
View Source
const ( DefaultByteWidth = 6 DefaultPadChar = '_' CharLenBit = 1 CharLenHex = 4 CharLenBase64 = 6 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BinaryViewer ¶
BinaryViewer provides I/O for viewing text-encoded binaries, write encoded binaries, you can read the formatted contents
func NewBinaryViewer ¶
func NewBinaryViewer(srcLen, charLen, byteWidth int, padChar byte) *BinaryViewer
NewBinaryViewer creates binary viewer with options charLen is required, other parameter are optional TODO: refactor to functional option pattern
Click to show internal directories.
Click to hide internal directories.