Added available()
This commit is contained in:
parent
01e09afe49
commit
ef657078f9
|
@ -27,6 +27,10 @@ class NopInputStream : InputStream() {
|
||||||
val INPUT_STREAM = NopInputStream()
|
val INPUT_STREAM = NopInputStream()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
override fun available(): Int {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
override fun read(): Int {
|
override fun read(): Int {
|
||||||
return -1
|
return -1
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user