megabytes(_:)

Returns a ByteCount with a given number of megabytes

ByteCount.swift:40
static func megabytes(_ count: Int64) -> ByteCount

Parameters

count

The number of megabytes

One megabyte is 1,000,000 bytes.