@ -78,4 +78,12 @@ Buffer.prototype.write = function (string, offset, encoding) {
default:
throw new Error('Unknown encoding');
}
};
Buffer.prototype.get = function (index) {
return this[index];
Buffer.prototype.set = function (index, value) {
return this[index] = value;