Instance Propertyswift-nio 2.72.0NIOCore
endIndex
The end index of this FileRegion
.
var endIndex: Int { 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 description: String
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
.