XDev.KotlinX.IO 0.8.0.1

dotnet add package XDev.KotlinX.IO --version 0.8.0.1
                    
NuGet\Install-Package XDev.KotlinX.IO -Version 0.8.0.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="XDev.KotlinX.IO" Version="0.8.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="XDev.KotlinX.IO" Version="0.8.0.1" />
                    
Directory.Packages.props
<PackageReference Include="XDev.KotlinX.IO" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add XDev.KotlinX.IO --version 0.8.0.1
                    
#r "nuget: XDev.KotlinX.IO, 0.8.0.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package XDev.KotlinX.IO@0.8.0.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=XDev.KotlinX.IO&version=0.8.0.1
                    
Install as a Cake Addin
#tool nuget:?package=XDev.KotlinX.IO&version=0.8.0.1
                    
Install as a Cake Tool

Introduction

Nuget packaging for the kotlinx-io native kotlin libraries. This package is named XDev.KotlinX.IO and rolls up the kotlinx-io family — org.jetbrains.kotlinx:kotlinx-io-core and its dependency org.jetbrains.kotlinx:kotlinx-io-bytestring (both the common and -jvm Kotlin-multiplatform variants). These two artifacts share a single release train (identical versions, published together), so they are packaged as one NuGet for simplicity. The "XDev" root in the package name allows room for JetBrains/Microsoft to publish an official NuGet package in the future, and allows simple replacement of this one for that one, if that ever occurs.

kotlinx-io-core is a transitive requirement of ktor-io in Ktor 3 (the new IO refactor); no existing NuGet wrapper carries it, so this package fills that gap.

Latest release <a href="https://www.nuget.org/packages/XDev.KotlinX.IO"> <img src="https://img.shields.io/nuget/v/XDev.KotlinX.IO"></a>

Latest build    <a href="https://www.nuget.org/packages/XDev.KotlinX.IO"> <img src="https://img.shields.io/nuget/vpre/XDev.KotlinX.IO"></a>

source repo

<br>

The native libs in maven:

native repo: https://github.com/Kotlin/kotlinx-io

Getting Started

To use this nuget package, just install the desired version as you normally install nuget packs.

  • Note this repo repackages the kotlinx-io-core and kotlinx-io-bytestring jars into .aar files to support android.
  • It depends on the published Xamarin.Kotlin.StdLib package.

Build and Test

https://learn.microsoft.com/en-us/dotnet/android/features/maven/android-maven-library

Versions

Contribute

If you need a different/newer version, PR, or open an issue in the .Net repo! https://dev.azure.com/xdevapps/Android%20bindings/_git/XDev.Jetbrains.InteropLibs

Product Compatible and additional computed target framework versions.
.NET net8.0-android34.0 is compatible.  net9.0-android was computed.  net10.0-android was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on XDev.KotlinX.IO:

Package Downloads
XDev.IO.Ktor

Ktor is an asynchronous framework for creating microservices, web applications and more. Written in Kotlin from the ground up.

XDev.KotlinX.Serialization.Json.Io

A Kotlin multiplatform library bridging kotlinx-serialization JSON and kotlinx-io (encode/decode JSON directly to/from kotlinx-io Sources and Sinks). Repackages org.jetbrains.kotlinx:kotlinx-serialization-json-io as .aar files for use by native Android libraries (e.g. ktor-serialization-kotlinx-json) consumed from Xamarin/MAUI.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.8.0.1 0 6/12/2026
0.7.0.1 41 6/10/2026
0.6.0.1 97 6/5/2026
0.5.4.1 100 6/4/2026

Rolls up the kotlinx-io family (kotlinx-io-core + kotlinx-io-bytestring) into a single package; these two
     Maven artifacts share one release train and always move together. Uses the published Xamarin.Kotlin.StdLib
     package as a dependency so that we're compatible with Maui-targeted apps.