提交 | 用户 | 时间
|
ce910c
|
1 |
package com.netsdk.lib.structure; |
H |
2 |
|
|
3 |
import com.netsdk.lib.NetSDKLib.SdkStructure; |
|
4 |
import com.sun.jna.Pointer; |
|
5 |
|
|
6 |
public class NET_OUT_DOWNLOAD_PIECE_FILE extends SdkStructure{ |
|
7 |
public int dwSize; |
|
8 |
/** |
|
9 |
* 文件总长度 |
|
10 |
*/ |
|
11 |
public int nFileLength; |
|
12 |
/** |
|
13 |
* 本次返回的数据长度,单位字节,建议为32KB,最大不超过4MB |
|
14 |
*/ |
|
15 |
public int nPacketLength; |
|
16 |
/** |
|
17 |
* 本次请求的文件数据,由用户申请内存,大小为nBufferLen |
|
18 |
*/ |
|
19 |
public Pointer szBuffer; |
|
20 |
/** |
|
21 |
* 本次请求的文件数据长度,单位字节 |
|
22 |
*/ |
|
23 |
public int nBufferLen; |
|
24 |
public NET_OUT_DOWNLOAD_PIECE_FILE() { |
|
25 |
this.dwSize = this.size(); |
|
26 |
} |
|
27 |
} |