Glossary: Swift Beyond the Basics
Data
Foundation's type for raw bytes, the form that files and networks use. `JSONEncoder` produces `Data`, and `String(decoding:as:)` reads it as text.
Glossary: Swift Beyond the Basics
Foundation's type for raw bytes, the form that files and networks use. `JSONEncoder` produces `Data`, and `String(decoding:as:)` reads it as text.