- module.exports = OldPasswordPacket;
- function OldPasswordPacket(options) {
- options = options || {};
- this.scrambleBuff = options.scrambleBuff;
- }
- OldPasswordPacket.prototype.parse = function(parser) {
- this.scrambleBuff = parser.parseNullTerminatedBuffer();
- };
- OldPasswordPacket.prototype.write = function(writer) {
- writer.writeBuffer(this.scrambleBuff);
- writer.writeFiller(1);
- };
|