Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const binaryStoreSize_ArgumentList = function (description, args) {
assert(_.isArray(description));
assert(_.isArray(args));
assert(args.length === description.length);
const stream = new BinaryStreamSizeCalculator();
encode_ArgumentList(description, args, stream);
return stream.length;
};
exports.binaryStoreSize_ArgumentList = binaryStoreSize_ArgumentList;
BaseUAObject.prototype.binaryStoreSize = function () {
const stream = new BinaryStreamSizeCalculator();
this.encode(stream);
return stream.length;
};
public binaryStoreSize(): number {
const stream = new BinaryStreamSizeCalculator();
this.encode(stream as OutputBinaryStream);
return stream.length;
}
export function binaryStoreSize_ArgumentList(description: any, args: any) {
assert(_.isArray(description));
assert(_.isArray(args));
assert(args.length === description.length);
const stream = new BinaryStreamSizeCalculator();
encode_ArgumentList(description, args, stream);
return stream.length;
}