toggle menu
Kotlin Wrappers API Reference
js
switch theme
search in API
kotlin-web
/
web.streams
/
ReadableStreamBYOBReader
Readable
Stream
BYOBReader
open
external
class
ReadableStreamBYOBReader
(
stream
:
ReadableStream
<
Uint8Array
<
*
>
>
)
:
ReadableStreamGenericReader
(
source
)
MDN Reference
Members
Constructors
Readable
Stream
BYOBReader
Link copied to clipboard
constructor
(
stream
:
ReadableStream
<
Uint8Array
<
*
>
>
)
Properties
closed
Link copied to clipboard
open
val
closed
:
Promise
<
Void
>
MDN Reference
Functions
cancel
Link copied to clipboard
open
suspend
fun
cancel
(
reason
:
JsError
?
=
definedExternally
)
MDN Reference
cancel
Async
Link copied to clipboard
open
fun
cancelAsync
(
reason
:
JsError
?
=
definedExternally
)
:
Promise
<
Void
>
read
Link copied to clipboard
suspend
fun
<
T
:
ArrayBufferView
<
*
>
>
read
(
view
:
T
)
:
ReadableStreamReadResult
<
T
>
MDN Reference
read
Async
Link copied to clipboard
fun
<
T
:
ArrayBufferView
<
*
>
>
readAsync
(
view
:
T
)
:
Promise
<
ReadableStreamReadResult
<
T
>
>
release
Lock
Link copied to clipboard
fun
releaseLock
(
)
MDN Reference