Sergey Mashkov | e86eb08 | 2017-12-04 18:45:05 +0300 | [diff] [blame] | 1 | package kotlinx.coroutines.experimental.io.jvm.javaio |
2 | |||||
3 | import kotlinx.io.pool.* | ||||
4 | |||||
5 | internal val ByteArrayPool = object : DefaultPool<ByteArray>(128) { | ||||
6 | override fun produceInstance() = ByteArray(4096) | ||||
7 | } |