MCPcopy Index your code
hub / github.com/Tencent/CodeAnalysis / HexDump

Method HexDump

tools/owl/scan/scanner.go:225–231  ·  view source on GitHub ↗

HexDump convert path content to hexadecimal

()

Source from the content-addressed store, hash-verified

223
224// HexDump convert path content to hexadecimal
225func (s *Scanner) HexDump() (string, error) {
226 bytes, err := ioutil.ReadFile(s.Path)
227 if err != nil {
228 return NilString, err
229 }
230 return hex.Dump(bytes), nil
231}
232
233// Exec execution statistics time
234func Exec(do func()) {

Callers 3

hex.goFile · 0.80
TestAllFunctionFunction · 0.80
TestScannerFunction · 0.80

Calls

no outgoing calls

Tested by 2

TestAllFunctionFunction · 0.64
TestScannerFunction · 0.64