Operatorswift-nio 2.77.0_NIOFileSystem
<(_:_:)
ByteCount.swift:114static func < (lhs: ByteCount, rhs: ByteCount) -> Bool
static func < (lhs: ByteCount, rhs: ByteCount) -> Bool
import _NIOFileSystem
A file system library for Swift.
struct ByteCount
Represents the number of bytes.
@frozen struct Bool
A value type whose instances are either true
or false
.
static var unlimited: ByteCount { get }
A ByteCount
for an unlimited amount of bytes.
static var zero: ByteCount { get }
static func bytes(_ count: Int64) -> ByteCount
Returns a ByteCount
with a given number of bytes
static func gibibytes(_ count: Int64) -> ByteCount
Returns a ByteCount
with a given number of gibibytes
static func gigabytes(_ count: Int64) -> ByteCount
Returns a ByteCount
with a given number of gigabytes
static func kibibytes(_ count: Int64) -> ByteCount
Returns a ByteCount
with a given number of kibibytes
static func kilobytes(_ count: Int64) -> ByteCount
Returns a ByteCount
with a given number of kilobytes
static func mebibytes(_ count: Int64) -> ByteCount
Returns a ByteCount
with a given number of mebibytes
static func megabytes(_ count: Int64) -> ByteCount
Returns a ByteCount
with a given number of megabytes
var bytes: Int64
The number of bytes
static func + (lhs: ByteCount, rhs: ByteCount) -> ByteCount
static func - (lhs: ByteCount, rhs: ByteCount) -> ByteCount