search for: streamref

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

2017 Feb 19
5
RFC: Adding llvm::ThinStream
...inStreamReader* 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* which you can think of as `ArrayRef` and `MutableArrayRef` for ThinStreams. They allow slicing, dropping, etc and copy-semantics so that you can easily pass streams around without worrying about reference lifetime issues. To re-iterate: *When using a ThinStreamReader,...
2017 Feb 22
2
RFC: Adding llvm::ThinStream
...iter.* > > 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* which you > can think of as `ArrayRef` and `MutableArrayRef` for ThinStreams. They > allow slicing, dropping, etc and copy-semantics so that you can easily pass > streams around without worrying about reference lifetime issues. > > To re-iterate: *When u...