Allows to get current status of the given stream, taking the current index, getting an amount of count bytes before and after the given index. This function is mainly used to get a piece of the stream at the given position while reporting errors. This allows to show the piece of xml that is failing. The string return must not be deallocated. Value returned is actually managed by the stream object associated.
|