Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChecksumResult ¶
type ChecksumResult struct {
// contains filtered or unexported fields
}
ChecksumResult just contains the result of some checksum (md5) and gives us easy access to encoding it as hex or bytes, etc
func NewChecksumResultFromHex ¶
func NewChecksumResultFromHex(hexStr string) (*ChecksumResult, error)
NewChecksumResultFromHex creates a new ChecksumResult from the input hex string
func (*ChecksumResult) Bytes ¶
func (c *ChecksumResult) Bytes() []byte
Bytes will return the checksum as a byte slice
func (*ChecksumResult) HexString ¶
func (c *ChecksumResult) HexString() string
HexString will return the checksum encoded as hex
Click to show internal directories.
Click to hide internal directories.