type alias DecodedLength

Decoded length value with metadata

Contains the decoded length value and the number of bytes consumed from the source buffer during decoding.

Properties

length: number

The decoded length value

bytesRead: number

Number of bytes read from the buffer

Usage

import { type DecodedLength } from "encoding/length.ts";