descargar pdf y fotos
This commit is contained in:
+19
@@ -0,0 +1,19 @@
|
||||
class BooleanT {
|
||||
constructor(type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
decode(stream, parent) {
|
||||
return !!this.type.decode(stream, parent);
|
||||
}
|
||||
|
||||
size(val, parent) {
|
||||
return this.type.size(val, parent);
|
||||
}
|
||||
|
||||
encode(stream, val, parent) {
|
||||
return this.type.encode(stream, +val, parent);
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = BooleanT;
|
||||
Reference in New Issue
Block a user