XmlInputStream::readBytes

API Ref

#include <DbXml.hpp>

virtual unsigned int XmlInputStream::readBytes( char *toFill, const unsigned int maxToRead)


Description: XmlInputStream::readBytes

Reads maxToRead number of bytes from the input stream and places those bytes in toFill. Returns the number of bytes read, or 0 if the end of the stream has been reached.

Parameters

toFill
Specifies a pointer to a buffer used to place the bytes read from the input stream. It is the responsibility of the programmer to ensure that the buffer provided here is large enough for the amount of data to be read.
maxToRead
Identifies the maximum number of bytes to read from the input stream.

APIRef

Copyright (c) 1996,2007 Oracle. All rights reserved.