xlang
v4.0 Release
程序设计语言基础库文档
载入中...
搜索中...
未找到
xlibrarys
Qt5
Qt5
qt5
widgets
QByteArray.xcsm
浏览该文件的文档.
1
//xlang Source, Name:QXByteArray.xcsm
2
//Date: Thu Sep 23:13:45 2018
3
package
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
};
IllegalArgumentException
参数异常
Definition
BuiltinObjects.x:501
Qt.QByteArray.finalize
void finalize()
Definition
QByteArray.xcsm:12
制作者
1.9.8