Instance Propertyswift-nio 2.72.0NIOCore
description
FileRegion.swift:116var description: String { get }
Other members in extension
Type members
init(fileHandle: NIOFileHandle
) throws Create a new
FileRegion
forming a complete file.init(fileHandle: NIOFileHandle, readerIndex: Int, endIndex: Int
) Create a new
FileRegion
from an openNIOFileHandle
.static func == (lhs: FileRegion, rhs: FileRegion
) -> Bool
Instance members
var endIndex: Int
The end index of this
FileRegion
.let fileHandle: NIOFileHandle
The
NIOFileHandle
that is used by thisFileRegion
.var readableBytes: Int
The number of readable bytes within this FileRegion (taking the
readerIndex
andendIndex
into account).var readerIndex: Int
The current reader index of this
FileRegion
func moveReaderIndex(forwardBy: Int
) Move the readerIndex forward by
offset
.