Show More
Commit Description:
merge
Commit Description:
merge
References:
File last commit:
Show/Diff file:
Action:
node_modules/restructure/src/Boolean.coffee | 13 lines | 263 B | text/coffeescript | CoffeeScriptLexer |
class BooleanT
constructor: (@type) ->
decode: (stream, parent) ->
!!@type.decode(stream, parent)
size: (val, parent) ->
@type.size(val, parent)
encode: (stream, val, parent) ->
@type.encode(stream, +val, parent)
module.exports = BooleanT