blob: be05c5ffb8af73c8a552a4b3fec69515c1c97d7d [file] [log] [blame]
// Copyright 2015 The Vanadium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
/**
* @summary Namespace vom implements Vanadium Object Marshaling, a serialization
* protocol. Vom is used in Vanadium to enable interchange of user-defined data
* structures across networks, languages and storage systems.
* @description
* <p> Namespace vom implements Vanadium Object Marshaling, a serialization
* protocol.</p>
* <p>For the concept doc see {@link https://staging.v.io/concepts/vom.html}
* </p>
* <p>Vom is used in Vanadium to enable interchange of user-defined data
* structures across networks, languages and storage systems.</p>
*
* <p>VOM supports the same types and compatibility rules supported by
* [VDL]{@link module:vanadium.vdl}. It is a self-describing wire
* format.</p>
*/
module.exports = {
ByteArrayMessageReader: require('./byte-array-message-reader'),
ByteArrayMessageWriter: require('./byte-array-message-writer'),
Encoder: require('./encoder'),
Decoder: require('./decoder'),
encode: require('./encode'),
decode: require('./decode'),
TypeDecoder: require('./type-decoder'),
TypeEncoder: require('./type-encoder')
};
require('./native-types'); // Register standard native types.