Skip to content

Structure

ByteCount

let bytes: ByteCount = “2kb” print(bytes.value) // 2048
struct ByteCount

Topics

Initializers

Instance Properties

  • value
    The value in Bytes

Default Implementations

Relationships

Conforms To

  • Swift.Copyable
  • Swift.Equatable
  • Swift.Escapable
  • Swift.ExpressibleByExtendedGraphemeClusterLiteral
  • Swift.ExpressibleByIntegerLiteral
  • Swift.ExpressibleByStringLiteral
  • Swift.ExpressibleByUnicodeScalarLiteral
  • Swift.Sendable
  • Swift.SendableMetatype