Fix comment
This commit is contained in:
parent
c8fdfae955
commit
717166e668
3 changed files with 3 additions and 3 deletions
|
@ -80,7 +80,7 @@ class BufferWriter {
|
|||
}
|
||||
exports.BufferWriter = BufferWriter;
|
||||
/**
|
||||
* Helper class for serialization of bitcoin data types into a pre-allocated buffer.
|
||||
* Helper class for reading of bitcoin data types from a buffer.
|
||||
*/
|
||||
class BufferReader {
|
||||
constructor(buffer, offset = 0) {
|
||||
|
|
|
@ -93,7 +93,7 @@ export class BufferWriter {
|
|||
}
|
||||
|
||||
/**
|
||||
* Helper class for serialization of bitcoin data types into a pre-allocated buffer.
|
||||
* Helper class for reading of bitcoin data types from a buffer.
|
||||
*/
|
||||
export class BufferReader {
|
||||
constructor(public buffer: Buffer, public offset: number = 0) {
|
||||
|
|
2
types/bufferutils.d.ts
vendored
2
types/bufferutils.d.ts
vendored
|
@ -18,7 +18,7 @@ export declare class BufferWriter {
|
|||
writeVector(vector: Buffer[]): void;
|
||||
}
|
||||
/**
|
||||
* Helper class for serialization of bitcoin data types into a pre-allocated buffer.
|
||||
* Helper class for reading of bitcoin data types from a buffer.
|
||||
*/
|
||||
export declare class BufferReader {
|
||||
buffer: Buffer;
|
||||
|
|
Loading…
Reference in a new issue