• Home
  • Raw
  • Download

Lines Matching refs:stream

3 …g JSON. Here we first show how to use streams provided. And then see how to create a custom stream.
13 `StringStream` is the most basic input stream. It represents a complete, read-only JSON stored in m…
37 …tringStream<UTF8<> >`, user may use another encodings to represent the character set of the stream.
41 `StringBuffer` is a simple output stream. It allocates a memory buffer for writing the whole JSON. …
91 …ng streams, `FileReadStream` is byte stream. It does not handle encodings. If the file is not UTF-…
97 `FileWriteStream` is buffered output stream. Its usage is very similar to `FileReadStream`.
128 …k). When reading from a byte stream, it is needed to detect or just consume the BOM if exists. Whe…
130 If the encoding of stream is known in compile-time, you may use `EncodedInputStream` and `EncodedOu…
132 … than file. For example, you may have a file in memory, or a custom byte stream, be wrapped in enc…
136 …`UTF16LE`, defined in `rapidjson/encodings.h`. The second one is the class of stream to be wrapped.
161 …ool putBOM` parameter in the constructor, controlling whether to write BOM into output byte stream.
212 When specifying the encoding of stream, uses `AutoUTF<CharType>` as in `ParseStream()` above.
239 …ms, user can create their own stream classes which fits RapidJSON's API. For example, you may crea…
241 …ypes using templates. A class containing all required interface can be a stream. The Stream interf…
245 typename Ch; //!< Character type of the stream.
247 //! Read the current character from stream without moving the read cursor.
250 //! Read the current character from stream and moving the read cursor to next character.
274 For input stream, they must implement `Peek()`, `Take()` and `Tell()`.
275 For output stream, they must implement `Put()` and `Flush()`.
276 …implement them. However, if the interface is not needed for a particular stream, it is still need …
374 This section describes stream classes available in RapidJSON. Memory streams are simple. File strea…