Better words
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user