Introduction The usual implementation of malloc and free are unforgiving to errors in their callers' code, including cases where the programmer overflows an array, forgets to free memory, or frees a memory block twice. This often does not affect the
关键函数及方法 type TParser = class(TObject) public constructor Create(); Creates a new parser instance. destructor Destroy; override; Destroys the parser instance. procedure CheckToken(); Checks whether the token if of the given type. procedure CheckToken
NULL
博文链接:https://peitixin.iteye.com/blog/727526流与文件
577
参数:b
放置所读数据的数组
off
在b中的偏移量,读取的第一个字节放置在这里
len
读取的字节最大数
long skip(long n)
在输入流中跳过n个字节。返回实际跳过的字节数(如果到了流的结尾这个返回值可能会小
于n)。
int available()
返回可用的未阻塞的字节数。(回忆一下,阻塞意味着目前的线程丧失了它的运行权。
void close()
关闭输入流。