Structureswift-nio 2.72.0_NIOFileSystem
ByteCount
Represents the number of bytes.
ByteCount.swift:18struct ByteCount
Citizens in _NIOFileSystem
Conformances
protocol Equatable
A type that can be compared for value equality.
protocol Hashable
A type that can be hashed into a
Hasher
to produce an integer hash value.protocol Sendable
A type whose values can safely be passed across concurrency domains by copying.
Type members
static func bytes(Int64
) -> ByteCount Returns a
ByteCount
with a given number of bytesstatic func gibibytes(Int64
) -> ByteCount Returns a
ByteCount
with a given number of gibibytesstatic func gigabytes(Int64
) -> ByteCount Returns a
ByteCount
with a given number of gigabytesstatic func kibibytes(Int64
) -> ByteCount Returns a
ByteCount
with a given number of kibibytesstatic func kilobytes(Int64
) -> ByteCount Returns a
ByteCount
with a given number of kilobytesstatic func mebibytes(Int64
) -> ByteCount Returns a
ByteCount
with a given number of mebibytesstatic func megabytes(Int64
) -> ByteCount Returns a
ByteCount
with a given number of megabytes
Instance members
var bytes: Int64
The number of bytes
Type features
static func != (lhs: Self, rhs: Self
) -> Bool Returns a Boolean value indicating whether two values are not equal.