Skip to main content
Version: v0.0.2

Interface: ResolvedInput

A successfully-resolved input: the format (guaranteed to support the requested op) and the bytes.

Properties

bytes

readonly bytes: Uint8Array

The input bytes (a whole file or a drained stdin buffer); guaranteed non-empty.


format

readonly format: CosyteFormat

The resolved format: guaranteed to satisfy supportsOp(format, op) for the requested op.