2 var protobuf = exports;
5 * Build type, one of `"full"`, `"light"` or `"minimal"`.
10 protobuf.build = "minimal";
13 protobuf.Writer = require("./writer");
14 protobuf.BufferWriter = require("./writer_buffer");
15 protobuf.Reader = require("./reader");
16 protobuf.BufferReader = require("./reader_buffer");
19 protobuf.util = require("./util/minimal");
20 protobuf.rpc = require("./rpc");
21 protobuf.roots = require("./roots");
22 protobuf.configure = configure;
24 /* istanbul ignore next */
26 * Reconfigures the library according to the environment.
27 * @returns {undefined}
29 function configure() {
30 protobuf.util._configure();
31 protobuf.Writer._configure(protobuf.BufferWriter);
32 protobuf.Reader._configure(protobuf.BufferReader);
35 // Set up buffer utility according to the environment