forked from olcxjas-softworks/LarpixClient
Add capacitorjs runtime
This commit is contained in:
parent
d0ece489ee
commit
f90c0e6c40
8362 changed files with 1502407 additions and 1 deletions
19
node_modules/text-decoder/lib/pass-through-decoder.js
generated
vendored
Normal file
19
node_modules/text-decoder/lib/pass-through-decoder.js
generated
vendored
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
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 ''
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue