Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
ec80c21fd118667fdb2e851da7eea5d76d95eb52
/
.
/
j2k
/
testData
/
fileOrElement
/
tryWithResource
/
Multiline.kt
blob: c0021a11ccc2a72718980a3eb5cd8f73f8e613d6 [
file
] [
log
] [
blame
]
import
java
.
io
.*
class
C
{
@Throws
(
IOException
::
class
)
internal
fun foo
()
{
ByteArrayInputStream
(
ByteArray
(
10
)).
use
{
stream
->
// reading something
val c
=
stream
.
read
()
println
(
c
)
}
}
}