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