Serialize a kernel message for transport.
If there is binary content, an ArrayBuffer is returned,
otherwise the message is converted to a JSON string.
Validate an Contents.ICheckpointModel object.
Validate an Contents.IModel object.
Validate a kernel message object.
Validate a Kernel.IModel object.
Validate a server kernelspec model to a client side model.
Validate a Kernel.ISpecModels object.
Generated using TypeDoc
Deserialize and return the unpacked message.
Notes
Handles JSON blob strings and binary messages.