search for: writablethinstreamref

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

2017 Feb 19
5
RFC: Adding llvm::ThinStream
...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, copies are the exception, n...
2017 Feb 22
2
RFC: Adding llvm::ThinStream
...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, cop...