search for: thinstreamwriter

Displaying 2 results from an estimated 2 matches for "thinstreamwriter".

2017 Feb 19
5
RFC: Adding llvm::ThinStream
.... One could easily imagine an implementation that adapts `llvm::MemoryBuffer` so that you could read and write from mmap'ed files. But all of these just allow reading and writing raw bytes. To handle reading and writing semantic data, there are two additional classes. *ThinStreamReader* and *ThinStreamWriter.* These accept any subclass of `ThinStream` and maintain an offset and allow you to read integers in any endianness, strings, objects, arrays of objects (both fixed length records and variable length records), and various other things. Finally, there are *ThinStreamRef* and *WritableThinStreamRef...
2017 Feb 22
2
RFC: Adding llvm::ThinStream
...n > implementation that adapts `llvm::MemoryBuffer` so that you could read and > write from mmap'ed files. > > But all of these just allow reading and writing raw bytes. To handle > reading and writing semantic data, there are two additional classes. > *ThinStreamReader* and *ThinStreamWriter.* > > These accept any subclass of `ThinStream` and maintain an offset and allow > you to read integers in any endianness, strings, objects, arrays of objects > (both fixed length records and variable length records), and various other > things. > > Finally, there are *ThinStre...