Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

StringCodec

import { StringCodec } from "https://raw.githubusercontent.com/nats-io/nats.deno/v1.28.2/nats-base-client/internal_mod.ts";

Returns a Codec for encoding strings to a message payload and decoding message payloads into strings.

function StringCodec(): Codec<string>;
§
StringCodec(): Codec<string>
[src]

§Return Type

§
Codec<string>
[src]