diff --git a/libraries/stdlib/src/kotlin/io/Console.kt b/libraries/stdlib/src/kotlin/io/Console.kt index 919c5367a9d..c0ebf21e347 100644 --- a/libraries/stdlib/src/kotlin/io/Console.kt +++ b/libraries/stdlib/src/kotlin/io/Console.kt @@ -5,21 +5,6 @@ import java.io.InputStream import java.io.InputStreamReader import java.io.BufferedReader -/** - * Returns the default buffer size when working with buffered streams. - */ -public val defaultBufferSize: Int = 64 * 1024 - -/** - * Returns the default block size for forEachBlock(). - */ -public val defaultBlockSize: Int = 4096 - -/** - * Returns the minimum block size for forEachBlock(). - */ -public val minimumBlockSize: Int = 512 - /** Prints the given message to the standard output stream. */ public fun print(message: Any?) { System.out.print(message) diff --git a/libraries/stdlib/src/kotlin/io/Constants.kt b/libraries/stdlib/src/kotlin/io/Constants.kt new file mode 100644 index 00000000000..d6cad17a046 --- /dev/null +++ b/libraries/stdlib/src/kotlin/io/Constants.kt @@ -0,0 +1,15 @@ +@file:JvmVersion +package kotlin.io + +/** + * Returns the default buffer size when working with buffered streams. + */ +public val defaultBufferSize: Int = 64 * 1024 +/** + * Returns the default block size for forEachBlock(). + */ +public val defaultBlockSize: Int = 4096 +/** + * Returns the minimum block size for forEachBlock(). + */ +public val minimumBlockSize: Int = 512 \ No newline at end of file