mirror of
https://github.com/github/codeql-action.git
synced 2026-05-14 07:10:18 +00:00
16 lines
234 B
JavaScript
16 lines
234 B
JavaScript
const b4a = require('b4a')
|
|
|
|
module.exports = class PassThroughDecoder {
|
|
constructor (encoding) {
|
|
this.encoding = encoding
|
|
}
|
|
|
|
decode (tail) {
|
|
return b4a.toString(tail, this.encoding)
|
|
}
|
|
|
|
flush () {
|
|
return ''
|
|
}
|
|
}
|