optional
strategy: "keep" | "discard"
Strategy for handling delimiter.
keep
- delimiter is kept at the end of each framediscard
- delimiter is discarded
Ignored for encoding (delimiter is always appended after the frame)
strategy: "keep" | "discard"
Strategy for handling delimiter.
keep
- delimiter is kept at the end of each framediscard
- delimiter is discardedIgnored for encoding (delimiter is always appended after the frame)
Add Package
deno add jsr:@fuman/io
Import symbol
import { type DelimiterCodecOptions } from "@fuman/io";
---- OR ----
Import directly with a jsr specifier
import { type DelimiterCodecOptions } from "jsr:@fuman/io";
Add Package
npx jsr add @fuman/io
Import symbol
import { type DelimiterCodecOptions } from "@fuman/io";
Add Package
yarn dlx jsr add @fuman/io
Import symbol
import { type DelimiterCodecOptions } from "@fuman/io";
Add Package
pnpm dlx jsr add @fuman/io
Import symbol
import { type DelimiterCodecOptions } from "@fuman/io";
Add Package
bunx jsr add @fuman/io
Import symbol
import { type DelimiterCodecOptions } from "@fuman/io";