Thanks for the hint. This seems to work as I expect:
{:ok, f} = :file.open("FR.CIEL.00.HHZ.D.2023.001", [:binary, :read])
{:ok, data} = :file.pread(f, 8192, 4096)
I guess all I need to do after this is to send the data over Plug.
Thanks for the hint. This seems to work as I expect:
{:ok, f} = :file.open("FR.CIEL.00.HHZ.D.2023.001", [:binary, :read])
{:ok, data} = :file.pread(f, 8192, 4096)
I guess all I need to do after this is to send the data over Plug.