Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Effect-TS/effect
/ toBase64
Function
toBase64
packages/sql/pg/src/PgAuth.ts:68–68 ·
view source on GitHub ↗
(bytes: Uint8Array)
Source
from the content-addressed store, hash-verified
66
}
67
68
const
toBase64 = (bytes: Uint8Array): string => Base64.encode(bytes)
69
70
const
fromBase64 = (text: string, field: string): Uint8Array => {
71
const
decoded = Base64.decode(text)
Callers
2
scramContinueUnsafe
Function · 0.70
scramFinishUnsafe
Function · 0.70
Calls
1
encode
Method · 0.80
Tested by
no test coverage detected