Static Propertyswift-nio 2.72.0NIOCore
detailed
A hex dump format compatible with hexdump
command line utility.
static let detailed: ByteBuffer.HexDumpFormat
Other members in extension
Type members
static let compact: ByteBuffer.HexDumpFormat
A hex dump analog to
plain
format but without whitespaces.static let plain: ByteBuffer.HexDumpFormat
A plain hex dump format compatible with
xxd
CLI utility.static func compact(maxBytes: Int
) -> ByteBuffer.HexDumpFormat A hex dump analog to
plain
format but without whitespaces. This format will dump firstmaxBytes / 2
bytes, and the lastmaxBytes / 2
bytes, with a placeholder in between.static func detailed(maxBytes: Int
) -> ByteBuffer.HexDumpFormat A hex dump format compatible with
hexdump
command line tool. This format will dump firstmaxBytes / 2
bytes, and the lastmaxBytes / 2
bytes, with a placeholder in between.static func plain(maxBytes: Int
) -> ByteBuffer.HexDumpFormat A detailed hex dump format compatible with
xxd
, clipped tomaxBytes
bytes dumped. This format will dump firstmaxBytes / 2
bytes, and the lastmaxBytes / 2
bytes, replacing the rest with “ … “.