Skip to content

Commit 717166e

Browse files
committed
Fix comment
1 parent c8fdfae commit 717166e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/bufferutils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ class BufferWriter {
8080
}
8181
exports.BufferWriter = BufferWriter;
8282
/**
83-
* Helper class for serialization of bitcoin data types into a pre-allocated buffer.
83+
* Helper class for reading of bitcoin data types from a buffer.
8484
*/
8585
class BufferReader {
8686
constructor(buffer, offset = 0) {

ts_src/bufferutils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ export class BufferWriter {
9393
}
9494

9595
/**
96-
* Helper class for serialization of bitcoin data types into a pre-allocated buffer.
96+
* Helper class for reading of bitcoin data types from a buffer.
9797
*/
9898
export class BufferReader {
9999
constructor(public buffer: Buffer, public offset: number = 0) {

types/bufferutils.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export declare class BufferWriter {
1818
writeVector(vector: Buffer[]): void;
1919
}
2020
/**
21-
* Helper class for serialization of bitcoin data types into a pre-allocated buffer.
21+
* Helper class for reading of bitcoin data types from a buffer.
2222
*/
2323
export declare class BufferReader {
2424
buffer: Buffer;

0 commit comments

Comments
 (0)