摘要
Symbian C++使用描述符存储字符串或者字节流数据,描述符自身保持缓冲区大小信息,保证内存安全。TBuf、TBufC、TPtr、TPtrC与HBufC是5种可以实例化的描述符类型。重点介绍其类别组织关系和异同,可作为Symbian C++程序员的编程参考。
Symbian C++ using the descriptor to store a string or a byte stream.Descriptors keep the size of their buffers to ensure a memory safe operation.TBuf,TBufC,TPtr,TPtrC and HBufC are five descriptors can be instantiated.This paper focuses on the types organization,similarities and differences.The Symbian C++ programmers can reference to this work..
出处
《电脑编程技巧与维护》
2011年第8期24-25,共2页
Computer Programming Skills & Maintenance