This chapter focuses on explaining the Kotlin approach to working with JVM File, InputStream, and OutputStream types. We are going to explore the group of extension functions offered by the standard library under the kotlin.io package, which focus on enhancing support for I/O operations. Note that at the moment, with the Kotlin version 1.2, the following recipes are applicable only to code targeting the JVM platform.
Germany
Slovakia
Canada
Brazil
Singapore
Hungary
Philippines
Mexico
Thailand
Ukraine
Luxembourg
Estonia
Lithuania
Norway
Chile
United States
Great Britain
India
Spain
South Korea
Ecuador
Colombia
Taiwan
Switzerland
Indonesia
Cyprus
Denmark
Finland
Poland
Malta
Czechia
New Zealand
Austria
Turkey
France
Sweden
Italy
Egypt
Belgium
Portugal
Slovenia
Ireland
Romania
Greece
Argentina
Malaysia
South Africa
Netherlands
Bulgaria
Latvia
Australia
Japan
Russia