Skip to content

Commit

Permalink
Removing useless comments
Browse files Browse the repository at this point in the history
  • Loading branch information
CMCDragonkai committed Oct 17, 2021
1 parent 6f8b393 commit 4ea34f2
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,6 @@ function* take<T>(g: Iterator<T>, l: number): Generator<T> {

function toString(id: Uint8Array): string {
return String.fromCharCode(...id);
// Const b = Buffer.from(id.buffer, id.byteOffset, id.byteLength);
// return b.toString('binary');
}

function fromString(idString: string): Id | undefined {
Expand All @@ -84,8 +82,6 @@ function fromString(idString: string): Id | undefined {
id[i] = idString.charCodeAt(i);
}
return id;
// Const b = Buffer.from(idString, 'binary');
// return IdInternal.create(b.buffer, b.byteOffset, b.byteLength);
}

function toUUID(id: Uint8Array): string {
Expand Down

0 comments on commit 4ea34f2

Please sign in to comment.