toggle menu
Kotlin Wrappers API Reference
js
switch theme
search in API
kotlin-browser
/
web.file
/
FileReaderSync
File
Reader
Sync
open
external
class
FileReaderSync
(
source
)
Allows to read File or Blob objects in a synchronous way.
MDN Reference
Members
Constructors
File
Reader
Sync
Link copied to clipboard
constructor
(
)
Functions
read
As
Array
Buffer
Link copied to clipboard
fun
readAsArrayBuffer
(
blob
:
Blob
)
:
ArrayBuffer
MDN Reference
read
As
Data
URL
Link copied to clipboard
fun
readAsDataURL
(
blob
:
Blob
)
:
String
MDN Reference
read
As
Text
Link copied to clipboard
fun
readAsText
(
blob
:
Blob
,
encoding
:
String
=
definedExternally
)
:
String
MDN Reference