Sign in
chromium
/
devtools
/
devtools-frontend
/
refs/heads/main
/
.
/
node_modules
/
text-decoder
/
lib
/
pass-through-decoder.js
blob: 6d2f3cf92ecf01989d8806af76bea950c3b13bfd [
file
] [
edit
]
const
b4a
=
require
(
'b4a'
)
module
.
exports
=
class
PassThroughDecoder
{
constructor
(
encoding
)
{
this
.
encoding
=
encoding
}
get
remaining
()
{
return
0
}
decode
(
data
)
{
return
b4a
.
toString
(
data
,
this
.
encoding
)
}
flush
()
{
return
''
}
}