File tree 3 files changed +69
-13
lines changed
3 files changed +69
-13
lines changed Original file line number Diff line number Diff line change
1
+ # Windows image file caches
2
+ Thumbs.db
3
+ ehthumbs.db
4
+
5
+ # Folder config file
6
+ Desktop.ini
7
+
8
+ # Recycle Bin used on file shares
9
+ $RECYCLE.BIN /
10
+
11
+ # Windows Installer files
12
+ * .cab
13
+ * .msi
14
+ * .msm
15
+ * .msp
16
+
17
+ # Windows shortcuts
18
+ * .lnk
19
+
20
+ # =========================
21
+ # Operating System Files
22
+ # =========================
23
+
24
+ # OSX
25
+ # =========================
26
+
27
+ .DS_Store
28
+ .AppleDouble
29
+ .LSOverride
30
+
31
+ # Thumbnails
32
+ ._ *
33
+
34
+ # Files that might appear in the root of a volume
35
+ .DocumentRevisions-V100
36
+ .fseventsd
37
+ .Spotlight-V100
38
+ .TemporaryItems
39
+ .Trashes
40
+ .VolumeIcon.icns
41
+
42
+ # Directories potentially created on remote AFP share
43
+ .AppleDB
44
+ .AppleDesktop
45
+ Network Trash Folder
46
+ Temporary Items
47
+ .apdisk
48
+
49
+ node_modules
Original file line number Diff line number Diff line change 1
1
# Binary data structure transformation for JavaScript
2
- ## Forked from node-cppMsg because it lacked support for arrays.
3
2
4
3
## Installation
5
4
6
5
Using npm:
7
6
8
- $ npm install cppMsg-dynamic
7
+ $ npm install cppMsg
9
8
10
9
To run the tests:
11
10
@@ -64,7 +63,7 @@ struct msg{
64
63
unsigned int processID;
65
64
struct head testObj;
66
65
long long testin64;
67
- float floatArray3[3];
66
+ float floatArray3[3];
68
67
};
69
68
```
70
69
Nodejs code:
@@ -129,15 +128,19 @@ Nodejs code:
129
128
console .log ( msg .encode ());
130
129
```
131
130
## Changelog
131
+ ### 1.0.2
132
+ 1 . merge darnold79 change,add array support.
133
+
134
+ ### 1.0.1
135
+ 1 . string type add encode support(using iconv-lite).
136
+
132
137
### 1.0.0
133
- 1 . forked from node-cppMsg and added array support .
134
-
138
+ 1 . init .
139
+
135
140
136
141
## LICENSE
137
142
138
143
The MIT License (MIT)
139
144
140
- Copyright (c) 2016 Shudingbo (node-cppMsg)
145
+ Copyright (c) 2017 Shudingbo
141
146
Copyright (c) 2017 darnold79 (node-cppMsg-dynamic)
142
-
143
-
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " cppmsg-dynamic" ,
3
- "version" : " 1.0.0 " ,
4
- "description" : " C++ stuct encoding/decoding with support for (dynamic) arrays. Fork of node-cppMsg. " ,
3
+ "version" : " 1.0.2 " ,
4
+ "description" : " C++ stuct encoding/decoding with support for (dynamic) arrays." ,
5
5
"main" : " cppMsg.js" ,
6
6
"scripts" : {
7
7
"test" : " echo \" Error: no test specified\" && exit 1"
12
12
" struct"
13
13
],
14
14
"author" : {
15
- "name" :" darnold79" ,
16
-
15
+ "name" :" darnold79" ,
16
+
17
17
},
18
+ "contributors" :[{
19
+ "name" :" darnold79" ,
20
+
21
+ }],
18
22
"license" : " MIT" ,
19
23
"dependencies" : {
20
24
"iconv-lite" : " ~0.4.13"
21
25
},
22
26
"repository" : {
23
27
"type" : " git" ,
24
- "url" : " https://github.com/darnold79 /node-cppMsg-dynamic .git"
28
+ "url" :" https://github.com/shudingbo /node-cppMsg.git"
25
29
},
26
30
"engines" : {
27
31
"node" : " >=0.8.0"
You can’t perform that action at this time.
0 commit comments