Fix comment

This commit is contained in:
junderw 2020-01-15 11:28:56 +09:00
parent c8fdfae955
commit 717166e668
No known key found for this signature in database
GPG key ID: B256185D3A971908
3 changed files with 3 additions and 3 deletions

View file

@ -80,7 +80,7 @@ class BufferWriter {
} }
exports.BufferWriter = 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 { class BufferReader {
constructor(buffer, offset = 0) { constructor(buffer, offset = 0) {

View file

@ -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 { export class BufferReader {
constructor(public buffer: Buffer, public offset: number = 0) { constructor(public buffer: Buffer, public offset: number = 0) {

View file

@ -18,7 +18,7 @@ export declare class BufferWriter {
writeVector(vector: Buffer[]): void; 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 { export declare class BufferReader {
buffer: Buffer; buffer: Buffer;