Initializerswift 6.0.3FoundationInternationalization
init(from:)
- iOS
- 15.0+
- macOS
- 12.0+
- tvOS
- 15.0+
- watchOS
- 8.0+
init(from decoder: any Decoder) throws
init(from decoder: any Decoder) throws
s30FoundationInternationalization20ByteCountFormatStyleV4fromACs7Decoder_p_tKcfc
What are these?NNEY
import FoundationInternationalization
struct ByteCountFormatStyle
protocol Decoder
A type that can decode values from a native format into in-memory representations.
init(style: ByteCountFormatStyle.Style = .file, allowedUnits: ByteCountFormatStyle.Units = .all, spellsOutZero: Bool = true, includesActualByteCount: Bool = false, locale: Locale = .autoupdatingCurrent)
var allowedUnits: ByteCountFormatStyle.Units { get set }
var attributed: ByteCountFormatStyle.Attributed
var includesActualByteCount: Bool { get set }
var locale: Locale { get set }
var spellsOutZero: Bool { get set }
var style: ByteCountFormatStyle.Style { get set }
func format(_ value: Int64) -> String
func locale(_ locale: Locale) -> ByteCountFormatStyle
struct Attributed
enum Style
struct Units