MCPcopy Create free account
hub / github.com/Effect-TS/effect / encode

Function encode

packages/sql/pg/test/PgProtocol.test.ts:360–360  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

358 const parameterStatus = (name: string, value: string): Uint8Array => {
359 const encoder = new TextEncoder()
360 const encode = (text: string) => encoder.encode(text)
361 return frame(encode(name), encode(value))
362 }
363

Callers 1

parameterStatusFunction · 0.70

Calls 1

encodeMethod · 0.80

Tested by

no test coverage detected