detailed
A hex dump format compatible with hexdump command line utility.
static var detailed: ByteBuffer.HexDumpFormat { get }A hex dump format compatible with hexdump command line utility.
static var detailed: ByteBuffer.HexDumpFormat { get }import NIOCoreThe core abstractions that make up SwiftNIO.
struct HexDumpFormatDescribes a ByteBuffer hexDump format. Can be either xxd output compatible, or hexdump compatible.
struct ByteBufferByteBuffer stores contiguously allocated raw bytes. It is a random and sequential accessible sequence of zero or more bytes (octets).
static var compact: ByteBuffer.HexDumpFormat { get }A hex dump analog to plain format but without whitespaces.
static var plain: ByteBuffer.HexDumpFormat { get }A plain hex dump format compatible with xxd CLI utility.
static func compact(maxBytes: Int) -> ByteBuffer.HexDumpFormat A hex dump analog to plainformat but without whitespaces. This format will dump first maxBytes / 2 bytes, and the last maxBytes / 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 first maxBytes / 2 bytes, and the last maxBytes / 2 bytes, with a placeholder in between.
static func plain(maxBytes: Int) -> ByteBuffer.HexDumpFormat A detailed hex dump format compatible with xxd, clipped to maxBytes bytes dumped. This format will dump first maxBytes / 2 bytes, and the last maxBytes / 2 bytes, replacing the rest with “ … “.