% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/stream.R
\name{read_stream_vis}
\alias{read_stream_vis}
\title{Read a shidashi stream binary file}
\usage{
read_stream_vis(path)
}
\arguments{
\item{path}{Character scalar. Absolute path to a \code{.bin} file
produced by \code{\link{stream_to_js}}.}
}
\value{
A list with components:
  \describe{
    \item{\code{header}}{Named list parsed from the JSON header
      (contains \code{data_type}, \code{signature}, \code{timestamp},
      and any extra fields).}
    \item{\code{data}}{Decoded body: a \code{raw} vector for
      \code{"raw"}, an R object for \code{"json"}, or a numeric/integer
      vector for \code{"int32"}, \code{"float32"}, \code{"float64"}.}
  }
}
\description{
Reads the binary envelope written by \code{\link{stream_to_js}} and
returns the header and decoded body as a list.
}
\seealso{
\code{\link{stream_to_js}}, \code{\link{stream_path}}
}
