3 #ifndef SPECTMORPH_STDIO_SUB_IN_HH 4 #define SPECTMORPH_STDIO_SUB_IN_HH 7 #include "smgenericin.hh" 18 StdioSubIn (FILE *file,
size_t pos,
size_t len);
22 static GenericIn* open (
const std::string& filename,
size_t pos,
size_t len);
25 int read (
void *ptr,
size_t size);
26 bool skip (
size_t size);
27 unsigned char *
mmap_mem (
size_t& remaining);
Generic Input Stream.
Definition: smgenericin.hh:17
bool skip(size_t size)
Definition: smstdiosubin.cc:72
Definition: smstdiosubin.hh:12
unsigned char * mmap_mem(size_t &remaining)
Definition: smstdiosubin.cc:86
int read(void *ptr, size_t size)
Definition: smstdiosubin.cc:57
int get_byte()
Definition: smstdiosubin.cc:42
GenericIn * open_subfile(size_t pos, size_t len)
Definition: smstdiosubin.cc:98
Definition: smalignedarray.cc:7
size_t get_pos()
Definition: smstdiosubin.cc:92