type alias DecodedSentence

Decoded sentence value with metadata

Contains the array of decoded word strings and the total number of bytes consumed from the buffer (including all words and the terminator).

Properties

words: string[]

Array of decoded word strings

bytesRead: number

Total bytes read (all words + terminator)

Usage

import { type DecodedSentence } from "encoding/sentence.ts";