read_stream_vis: Read a shidashi stream binary file

View source: R/stream.R

read_stream_visR Documentation

Read a shidashi stream binary file

Description

Reads the binary envelope written by stream_to_js and returns the header and decoded body as a list.

Usage

read_stream_vis(path)

Arguments

path

Character scalar. Absolute path to a .bin file produced by stream_to_js.

Value

A list with components:

header

Named list parsed from the JSON header (contains data_type, signature, timestamp, and any extra fields).

data

Decoded body: a raw vector for "raw", an R object for "json", or a numeric/integer vector for "int32", "float32", "float64".

See Also

stream_to_js, stream_path


shidashi documentation built on April 10, 2026, 5:07 p.m.