Skip to Main Content
Microsoft® .NET Compact Framework Kick Start
book

Microsoft® .NET Compact Framework Kick Start

by Erik Rubin, Ronnie Yates
August 2003
Beginner to intermediate content levelBeginner to intermediate
600 pages
12h 57m
English
Sams
Content preview from Microsoft® .NET Compact Framework Kick Start

Understanding How to Perform Full-Content Reads

While parsing an XML document, the program may need to read the entire content of an element. For example, an XML element might contain a GIF image encoded using Base64 encoding. A program would need to locate the element and read all of the text from it and convert the text back to the image data. Or maybe an element contains the complete chapter of a book, and reading the whole text into one string is not practical for memory constraint reasons. Instead it would be nice to read the string in chunks, processing the data chunk by chunk.

The XmlTextRead provides methods to support these example scenarios and many more. The methods in the following list are referred to as full-content read methods: ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Microsoft® .NET Compact Framework (Core Reference)

Microsoft® .NET Compact Framework (Core Reference)

Andy Wigley, Stephen Wheelwright, Robert Burbidge, Rory MacLoed, Mark Sutton
Professional C# 5.0 and .NET 4.5.1

Professional C# 5.0 and .NET 4.5.1

Christian Nagel, Jay Glynn, Morgan Skinner

Publisher Resources

ISBN: 0672325705Purchase book