{"modulePath":"github.com/ejfkdev/udf","version":"v0.7.9","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package printer\n\n## Functions\n\n```go\nfunc DumpByteSlice(b []byte, bytesPerRow int, showASCII, showPosHex, showPosDec bool, showOnlyBytes []int) (out string)\n```\nDumpByteSlice dump a byte slice in hex and optionally ASCII format. Optionally but position at the beginning of each row, like xxd. Optionally convert to ASCII at end of each row, like xxd. Can show positions at beginning of each row in hex, decimal or both. Can filter out all rows except those containing given positions in showOnlyBytes. If showOnlyBytes is nil, all rows are shown. If showOnlyBytes is not nil, even an empty slice, will only show those rows that contain the given positions.\n\n```go\nfunc DumpByteSlicesWithDiffs(a, b []byte, bytesPerRow int, showASCII, showPosHex, showPosDec bool) (different bool, out string)\n```\nDumpByteSlicesWithDiffs show two byte slices in hex and ASCII format, with differences highlighted.\n\n","path":"github.com/ejfkdev/udf/diskkit/util/printer","name":"printer","synopsis":"","isRedistributable":true}
