type alias DecodedWord

Decoded word value with metadata

Contains the decoded string and the total number of bytes consumed (including both the length prefix and content bytes).

Properties

word: string

The decoded UTF-8 string

bytesRead: number

Total bytes read (length prefix + content)

Usage

import { type DecodedWord } from "encoding/word.ts";