b5093878ab
This adds `fromString`, `fromJSON`, `toObject`, `toJSON`, `toString`, and `inspect` to Message. These methods are trivial since Message only contains a string message, but they should probably be added for consistency. Should toBuffer/fromBuffer be added as well? |
||
---|---|---|
.. | ||
message.js |