Static Propertyswift-nio 2.77.0_NIOFileSystem
unlimited
A ByteCount
for an unlimited amount of bytes.
static var unlimited: ByteCount { get }
A ByteCount
for an unlimited amount of bytes.
static var unlimited: ByteCount { get }
import _NIOFileSystem
A file system library for Swift.
struct ByteCount
Represents the number 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
static func < (lhs: ByteCount, rhs: ByteCount) -> Bool