public enum IOData
extension IOData: Equatable
extension IOData: CustomStringConvertible

IOData unifies standard SwiftNIO types that are raw bytes of data; currently ByteBuffer and FileRegion.

Many ChannelHandlers receive or emit bytes and in most cases this can be either a ByteBuffer or a FileRegion from disk. To still form a well-typed ChannelPipeline such handlers should receive and emit value of type IOData.