https://github.com/prakhardoneria/binaryfilelibrary
Binary File handling
https://github.com/prakhardoneria/binaryfilelibrary
Last synced: 3 months ago
JSON representation
Binary File handling
- Host: GitHub
- URL: https://github.com/prakhardoneria/binaryfilelibrary
- Owner: PrakharDoneria
- License: mit
- Created: 2024-01-06T06:16:32.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-06T06:43:34.000Z (almost 2 years ago)
- Last Synced: 2025-06-27T03:07:58.016Z (3 months ago)
- Language: JavaScript
- Size: 18.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Binary File Handling Library
The Binary File Handling Library provides functionality for reading, writing, and appending binary data to files in Sketchware Pro.
## Features
- **ReadBinary:** Read binary data from a specified file.
- **WriteBinary:** Write binary data to a specified file.
- **AppendBinary:** Append binary data to a specified file.## Getting Started
1. Import the library into your Sketchware Pro project using the Library Downloader.
2. Explore the example project (`example_project_layout.xml`) for usage demonstrations.
3. Customize the library blocks based on your project requirements.
## Blocks
### ReadBinary
- **Inputs:**
- `File Location`: The path to the file to read.- **Outputs:**
- `Content Read`: The content read from the file.### WriteBinary
- **Inputs:**
- `Data to Write`: The binary data to write.
- `File Location`: The path to the output file.- **Outputs:**
- `Write Success`: Indicates whether the write operation was successful.### AppendBinary
- **Inputs:**
- `Data to Append`: The binary data to append.
- `File Location`: The path to the output file.- **Outputs:**
- `Append Success`: Indicates whether the append operation was successful.## Example Project
Check out the `example_project_layout.xml` for a sample project demonstrating the usage of the Binary File Handling Library.
## License
This library is released under the [MIT License](LICENSE).