How to use the node-opcua-buffer-utils.makeBuffer function in node-opcua-buffer-utils

To help you get started, we’ve selected a few node-opcua-buffer-utils examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github node-opcua / node-opcua / packages / node-opcua-debug / source / makebuffer_from_trace.ts View on Github external
export function makebuffer_from_trace(func: string | Function): Buffer {
    if (typeof func === "string") {
        return makeBuffer(hexString(func as string));
    }
    return makeBuffer(hexString(inlineText(func)));
}

node-opcua-buffer-utils

pure nodejs OPCUA SDK - module buffer-utils

MIT
Latest version published 4 months ago

Package Health Score

83 / 100
Full package analysis