References
summary | ||
public |
This class lies at the very base of this library. |
|
public |
C Corrode Corrode A batteries-included library for reading your binary data. |
|
public |
The VariableStack is a special kind of stack. |
assert
summary | ||
public |
assert deep equality each value in Object|Array |
|
public |
F arrayLength(name: string, length: number | string) assert array to be a given length |
|
public |
asserts a variable matches a given bitmask |
|
public |
assert value via callback |
|
public |
assert equality objects |
|
public |
assert strict equal single value |
|
public |
asserts a variable exists in the first place |
|
public |
assert value to be within the bounds of an array |
|
public |
assert array|object to contain item |
map
summary | ||
public |
map a value by checking whether it has some bits set |
|
public |
replace a variable in the stack by a mapped version of itself |
|
public |
retrieve the first object from an array of objects, matching a specified attribute against a specified value like findAll, but returning only the first element |
|
public |
retrieve a filtered array of objects from an array of objects, matching a specified attribute against a specified value |
|
public |
retrieve a value from an accessable type (like array[0] or object['foo']) |
|
public |
replace Corrode#vars completely with a value from Corrode#vars especially useful when pushing a variable further up in the stack |
|
public |
retrieve absolute value of a number Math.abs |
|
public |
retrieve inverted number |
|
public |
retrieve trimmed string |
utils
summary | ||
public |
F bindObject(obj: object, ctx: object): object bind each function in an object to a given context |
|
public |
F tapBindObject(obj: object, ctx: object): object bind each function in an object with a tap to a given context |