@reversense/dxc-struct 1.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.idea/modules.xml +8 -0
- package/.idea/project.iml +8 -0
- package/.idea/vcs.xml +6 -0
- package/CODEOWNERS +24 -0
- package/LICENSE +661 -0
- package/README.md +169 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +24 -0
- package/dist/src/Struct.d.ts +49 -0
- package/dist/src/Struct.js +140 -0
- package/dist/src/StructDecoder.d.ts +11 -0
- package/dist/src/StructDecoder.js +90 -0
- package/dist/src/StructEncoder.d.ts +10 -0
- package/dist/src/StructEncoder.js +92 -0
- package/dist/src/common.d.ts +4 -0
- package/dist/src/common.js +5 -0
- package/dist/src/error/MonitoredError.d.ts +14 -0
- package/dist/src/error/MonitoredError.js +33 -0
- package/dist/src/error/RuntimeException.d.ts +7 -0
- package/dist/src/error/RuntimeException.js +15 -0
- package/index.ts +47 -0
- package/package.json +37 -0
- package/package.json.bak +37 -0
- package/scripts/publish.sh +36 -0
- package/src/Struct.ts +380 -0
- package/src/StructDecoder.ts +199 -0
- package/src/StructEncoder.ts +185 -0
- package/src/common.ts +25 -0
- package/src/error/MonitoredError.ts +90 -0
- package/src/error/RuntimeException.ts +41 -0
- package/test/HelloWorld.test.ts +0 -0
- package/test/Struct.test.ts +251 -0
- package/test/StructDecoder-int.test.ts +133 -0
- package/test/StructDecoder-uint.test.ts +104 -0
- package/test/StructEncoder.test.ts +233 -0
- package/test/res/elf32_lib.so +0 -0
- package/test/res/elf64_ssh.bin +0 -0
- package/test/res/resources.arsc +0 -0
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<module type="WEB_MODULE" version="4">
|
|
3
|
+
<component name="NewModuleRootManager">
|
|
4
|
+
<content url="file://$MODULE_DIR$" />
|
|
5
|
+
<orderEntry type="inheritedJdk" />
|
|
6
|
+
<orderEntry type="sourceFolder" forTests="false" />
|
|
7
|
+
</component>
|
|
8
|
+
</module>
|
package/.idea/vcs.xml
ADDED
package/CODEOWNERS
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Each line represents a rule, followed by a list of members.
|
|
2
|
+
# These members are the default owners for all files that match the specified pattern.
|
|
3
|
+
# The pattern generally follows the same syntax used for .gitignore files.
|
|
4
|
+
# The last matching rule always wins; those that appear lower in the file take precedence over rules that appear higher up.
|
|
5
|
+
# Specify owners by their username, email, or role assignment in the project.
|
|
6
|
+
|
|
7
|
+
# Examples:
|
|
8
|
+
|
|
9
|
+
# Member with username "john.smith" and member with email "alex@mycompany.com"
|
|
10
|
+
# own any JavaScript file in repository
|
|
11
|
+
# *.js john.smith alex@mycompany.com
|
|
12
|
+
|
|
13
|
+
# Bob owns all files under "subdir" directory at the repository root and all its subdirectories
|
|
14
|
+
# /subdir/ Bob
|
|
15
|
+
|
|
16
|
+
# All members from team named "Product Team" file under root "Product Documentation" directory
|
|
17
|
+
# "/Product Documentation" "Product Team"
|
|
18
|
+
|
|
19
|
+
# All members who are assigned the Project Collaborator role own any file under docs/ directory
|
|
20
|
+
# anywhere in the repository, but not further nested files
|
|
21
|
+
# docs/* "Project Collaborator"
|
|
22
|
+
|
|
23
|
+
# This file itself is owned by members who are assigned the Project Admin role in this project.
|
|
24
|
+
CODEOWNERS "Project Admin"
|