Class: Diagnose
| Defined in: | src/diagnose.coffee |
| Inherits: | stream.Transform |
Overview
Output the diagnostic format from a stream of CBOR bytes.
Class Method Summary
- . (undefined, Promise) diagnose(input, encoding, cb) Convenience function to return a string in diagnostic format.
Class Method Details
.
(undefined, Promise)
diagnose(input, encoding, cb)
Convenience function to return a string in diagnostic format. @param encoding the encoding, if input is a string (defaults to 'hex')
Constructor Details
#
(void)
constructor(options = {})
Create a Diagnose.