Skip to content

Internal jBinary Methods

Ingvar Stepanyan edited this page Aug 27, 2013 · 4 revisions
  • getType(type): Returns constructed jBinary.Type instance from given descriptor.
  • createProperty(type): Constructs property from given type linked to current binary.
  • getContext(filter): Get object context specified by filter. Possible filter types:
    • not set - current context will be returned.
    • number - filter will be used as relative depth (0 is current context, 1 for parent and so on).
    • string - will look for closest context that contains property name equal to filter.
    • function - will be used as boolean function (true to stop) while bubbling up through contexts.
  • inContext(newContext, callback): Executes function inside given context.
Clone this wiki locally