Commit f15da9b9 authored by Ray Bellis's avatar Ray Bellis

avalue doc cleanups

parent 6833d41f
......@@ -117,13 +117,6 @@ class ABuffer extends AValue {
return this.fromBuffer(value);
}
/**
* Converts an attribute value into presentation format
*
* @name ABuffer#[inspect]
* @function
* @return {string} - the value of the attribute in presentation format
*/
[inspect]() {
let v = this.value[inspect]();
if (typeof v === 'string' && v.substring(0, 8) === '<Buffer ' && v.length > 32) {
......@@ -262,10 +255,6 @@ class ANumeric extends AFixed {
buf.writeUIntBE(this.value, 0, this.length);
return buf;
}
[inspect]() {
return this.value.toString();
}
};
/**
......@@ -356,6 +345,9 @@ class AInet4 extends AFixed {
return this.fromBuffer(value);
}
/**
* @return {string} the IPv4 address in dotted-quad format.
*/
toString() {
return [].join.call(this.value, '.');
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment