Better words

This commit is contained in:
Eric MacDonald
2021-09-08 22:12:28 -04:00
parent 79dbf3dcb4
commit 2d6533536b

View File

@@ -308,7 +308,7 @@ class WTVLzpf {
* @returns {undefined} * @returns {undefined}
*/ */
constructor() { constructor() {
this.clear(); this.reset();
} }
/** /**
@@ -316,7 +316,7 @@ class WTVLzpf {
* *
* @returns {undefined} * @returns {undefined}
*/ */
clear() { reset() {
this.current_bit_length = 0; this.current_bit_length = 0;
this.current_bits = 0; this.current_bits = 0;
this.ring_bufer_index = 0xFFFF; this.ring_bufer_index = 0xFFFF;
@@ -368,7 +368,7 @@ class WTVLzpf {
* @returns {undefined} Lzpf compression data * @returns {undefined} Lzpf compression data
*/ */
Begin() { Begin() {
this.clear(); this.reset();
} }
/** /**