Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Effect-TS/effect
/ decodeString
Function
decodeString
packages/effect/src/encoding/Hex.ts:268–268 ·
view source on GitHub ↗
(str: string)
Source
from the content-addressed store, hash-verified
266
* @since 4.0.0
267
*/
268
export
const
decodeString = (str: string) => Result.map(decode(str), (_) => decoder.decode(_))
269
270
const
encoder =
new
TextEncoder()
271
const
decoder =
new
TextDecoder(
"utf-8"
, { ignoreBOM: true })
Callers
1
Csv.ts
File · 0.70
Calls
3
decode
Function · 0.70
map
Method · 0.45
decode
Method · 0.45
Tested by
no test coverage detected