Initial import
This commit is contained in:
+17
@@ -0,0 +1,17 @@
|
||||
module.exports = class PassThroughDecoder {
|
||||
constructor (encoding) {
|
||||
this.encoding = encoding
|
||||
}
|
||||
|
||||
get remaining () {
|
||||
return 0
|
||||
}
|
||||
|
||||
decode (tail) {
|
||||
return tail.toString(this.encoding)
|
||||
}
|
||||
|
||||
flush () {
|
||||
return ''
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user