/readbyte

Reads individual bytes and 4/8-byte numbers from files

Primary LanguageFortran

OVERVIEW
==============================================================================================================

ReadByte is a simple Fortran routine to read individual bytes and 4/8-byte reals and integers from any file.

Copyright Danail Obreschkow (danail.obreschkow@icrar.org), 2017-2021


SIMPLE USE
==============================================================================================================

Compile using
> make clean; make

Run using
> ./readbyte inputfilename index [number] [step]

index  = index of first byte to read, where 1 denotes the first byte in the file
number = number of objects to read (default = 1)
step   = number of bytes between successive objects (default = 1)