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