xlang v4.0 Release
程序设计语言基础库文档
载入中...
搜索中...
未找到
QByteArray.xcsm
浏览该文件的文档.
1//xlang Source, Name:QXByteArray.xcsm
2//Date: Thu Sep 23:13:45 2018
3package Qt{
4 @SuppressWarnings public class QByteArray : QCore{
5 public QByteArray(byte [] data, int position, int length) throws IllegalArgumentException{
6 nativehandle = QtXnl.create_array_int2(0, Constant.BUFFERSETDATA, data, position, length);
7 if (nativehandle == 0){
8 throw new IllegalArgumentException("can not create QByteArray");
9 }
10 }
11
12 void finalize(){
13 if (nativehandle != 0){
14 QtXnl.widget_slot(nativehandle, Constant.DELLOCBYTEARRAY);
15 }
16 }
17 };
18};