Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
baiy committed Jan 13, 2023
1 parent c860c9f commit 0596c29
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/ctool-core/src/helper/text/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,10 @@ class Text {
return (Buffer.from(this.uint.uint8Array).toString('hex'))[options.caps === "upper" ? "toUpperCase" : 'toLowerCase']()
}

toUint8Array() {
return this.uint.uint8Array
}

toArray() {
return Array.from(this.uint.uint8Array)
}
Expand Down

0 comments on commit 0596c29

Please sign in to comment.