File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ const sCharacter = newStruct()
21
21
.build (); // total of 24 bytes
22
22
23
23
const sAccount = newStruct ()
24
- /* 0 to 95 */ .array (" characters" , (b ) => b .struct (4 , sCharacter ))
24
+ /* 0 to 95 */ .array (" characters" , 4 , (b ) => b .struct (sCharacter ))
25
25
.build (); // total of 96 bytes
26
26
27
27
// now, lets create a new account
@@ -43,7 +43,3 @@ OUTPUT:
43
43
(here I divided the output in 4 sections, just to show the 4 characters in the account)
44
44
*/
45
45
```
46
-
47
- ## Tests
48
-
49
- Tests will be added upon the v1 release
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " typed-buffer-struct" ,
3
- "version" : " 0.1.1-dev.1 " ,
3
+ "version" : " 0.1.1-dev.2 " ,
4
4
"description" : " This is a package which helps the user to create a Struct with automatic Buffer creation." ,
5
5
"author" : {
6
6
"name" : " Nelson Faiçal Rechdan" ,
You can’t perform that action at this time.
0 commit comments