MCPcopy Create free account
hub / github.com/denoland/std / binary

Function binary

http/unstable_structured_fields.ts:241–245  ·  view source on GitHub ↗
(
  value: Uint8Array,
)

Source from the content-addressed store, hash-verified

239 * ```
240 */
241export function binary(
242 value: Uint8Array,
243): Extract<BareItem, { type: "binary" }> {
244 return { type: "binary", value };
245}
246
247/**
248 * Creates a boolean Bare Item.

Callers 4

resolveBinaryWrappedFunction · 0.90
signMessageFunction · 0.90
fnFunction · 0.90
convertExpectedBareItemFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected