Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | 26x 50x | /**
* Use this wrapper is you have a pre-encoded MessagePack or CBOR value and you would
* like to dump it into a the document as-is. The contents of `buf` will
* be written as is to the document.
*
* It also serves as CBOR simple value container. In which case the type of value
* `val` field is "number".
*
* @category Value
*/
export class JsonPackValue<T = Uint8Array> {
constructor(public readonly val: T) {}
}
|