◆ QBuffer()
◆ finalize()
在文件 QBuffer.xcsm 第 31 行定义.
31 {
32 if (nativehandle != 0){
33 QtXnl.widget_slot(nativehandle, Constant.DELLOCBUFFER);
34 }
35 }
◆ open()
bool open |
( |
int |
openFlags | ) |
|
在文件 QBuffer.xcsm 第 21 行定义.
21 {
22 return 0 != QtXnl.widget_set_bint_value(nativehandle, Constant.OPENBUFFER, openFlags);
23 }
◆ setBuffer() [1/2]
void setBuffer |
( |
@NotNilptr QByteArray |
array | ) |
|
在文件 QBuffer.xcsm 第 28 行定义.
28 {
29 QtXnl.long_intlong(nativehandle, Constant.BUFFERSETDATA, array.nativehandle);
30 }
◆ setBuffer() [2/2]
void setBuffer |
( |
byte [] |
data, |
|
|
int |
position, |
|
|
int |
length |
|
) |
| |
在文件 QBuffer.xcsm 第 25 行定义.
25 {
26 QtXnl.array_int2(nativehandle, Constant.BUFFERSETDATA, data, position, length);
27 }
◆ Append
const int Append = 0x0004 |
|
static |
◆ NotOpen
const int NotOpen = 0x0000 |
|
static |
◆ ReadOnly
const int ReadOnly = 0x0001 |
|
static |
◆ ReadWrite
const int ReadWrite = ReadOnly | WriteOnly |
|
static |
◆ Text
◆ Truncate
const int Truncate = 0x0008 |
|
static |
◆ Unbuffered
const int Unbuffered = 0x0020 |
|
static |
◆ WriteOnly
const int WriteOnly = 0x0002 |
|
static |