initial + readme updates

This commit is contained in:
Arjun Patel
2018-06-25 19:21:14 -07:00
parent 9983a79efd
commit 4cbe20aed9
143 changed files with 22815 additions and 1 deletions
+14
View File
@@ -0,0 +1,14 @@
module.exports = UseOldPasswordPacket;
function UseOldPasswordPacket(options) {
options = options || {};
this.firstByte = options.firstByte || 0xfe;
}
UseOldPasswordPacket.prototype.parse = function(parser) {
this.firstByte = parser.parseUnsignedNumber(1);
};
UseOldPasswordPacket.prototype.write = function(writer) {
writer.writeUnsignedNumber(1, this.firstByte);
};