smppjs
Version:
Modern approach to smpp protocol.
15 lines • 382 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Int16 = void 0;
class Int16 {
static write({ buffer, value, offset }) {
const newBuffer = buffer;
newBuffer.writeUInt16BE(value || 0, offset);
return newBuffer;
}
static size() {
return 2;
}
}
exports.Int16 = Int16;
//# sourceMappingURL=int16.js.map