Move constants out of Console.kt

This commit is contained in:
Ilya Gorbunov
2015-09-22 18:32:19 +03:00
parent 058f2a8bd2
commit f6e0ef83e5
2 changed files with 15 additions and 15 deletions
-15
View File
@@ -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)
@@ -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