mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-09-30 09:17:09 +08:00
No-Presubmit: true Bug: none Change-Id: Ie0ddc7007c14ecc54c2aca66f22d204c93911d0f Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6038617 Reviewed-by: Simon Zünd <szuend@chromium.org> Commit-Queue: Alex Rudenko <alexrudenko@chromium.org>
18 lines
240 B
JavaScript
18 lines
240 B
JavaScript
module.exports = class PassThroughDecoder {
|
|
constructor (encoding) {
|
|
this.encoding = encoding
|
|
}
|
|
|
|
get remaining () {
|
|
return 0
|
|
}
|
|
|
|
decode (tail) {
|
|
return tail.toString(this.encoding)
|
|
}
|
|
|
|
flush () {
|
|
return ''
|
|
}
|
|
}
|