{"id":26950547,"url":"https://github.com/formulae-org/package-data-js","last_synced_at":"2025-07-19T19:34:58.520Z","repository":{"id":245150988,"uuid":"817136346","full_name":"formulae-org/package-data-js","owner":"formulae-org","description":"Data package for Fōrmulæ, in JavaScript","archived":false,"fork":false,"pushed_at":"2025-02-24T04:49:37.000Z","size":86,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-02T23:32:10.188Z","etag":null,"topics":["base64","base64string","byte-buffer","byte-manipulation","data-conversion","endianness","float32","float64","floating-point","hexadecimal-string","long-int","short-int","string-decode","string-encoding","unicode-strings"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/formulae-org.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-19T05:20:28.000Z","updated_at":"2025-02-24T04:49:40.000Z","dependencies_parsed_at":"2024-06-20T04:57:11.587Z","dependency_job_id":"f3f319e9-cb57-467e-8e0c-814a8a532fe6","html_url":"https://github.com/formulae-org/package-data-js","commit_stats":null,"previous_names":["formulae-org/package-data-js"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/formulae-org/package-data-js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/formulae-org%2Fpackage-data-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/formulae-org%2Fpackage-data-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/formulae-org%2Fpackage-data-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/formulae-org%2Fpackage-data-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/formulae-org","download_url":"https://codeload.github.com/formulae-org/package-data-js/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/formulae-org%2Fpackage-data-js/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265999131,"owners_count":23862219,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["base64","base64string","byte-buffer","byte-manipulation","data-conversion","endianness","float32","float64","floating-point","hexadecimal-string","long-int","short-int","string-decode","string-encoding","unicode-strings"],"created_at":"2025-04-02T23:29:59.006Z","updated_at":"2025-07-19T19:34:58.503Z","avatar_url":"https://github.com/formulae-org.png","language":"JavaScript","readme":"# package-data-js\n\nData package for the [Fōrmulæ](https://formulae.org) programming language.\n\nFōrmulæ is also a software framework for visualization, edition and manipulation of complex expressions, from many fields. The code for an specific field —i.e. arithmetics— is encapsulated in a single unit called a Fōrmulæ **package**.\n\nThis repository contains the source code for the **data package**. It is intended for the conversion between byte buffers and arbitrary strings, Base64 strings, hexadecimal strings, etc.\n\nThe GitHub organization [formulae-org](https://github.com/formulae-org) encompasses the source code for the rest of packages, as well as the [web application](https://github.com/formulae-org/formulae-js).\n\n\u003c!--\nTake a look at this [tutorial](https://formulae.org/?script=tutorials/Complex) to know the capabilities of the Fōrmulæ arithmetic package.\n--\u003e\n\n### Capabilities ###\n\n#### The **Byte buffer** expression\n\nThe byte buffer expression is a collecion of raw bytes.\n\n#### Creation ####\n\n* Creation of a byte buffer of a given size (number of bytes) with zero values.\n\n#### Conversions ####\n\n* Conversion from/to a byte buffer to/from an arbitrary string. Unicode strings are supported.\n* Conversion from/to a byte buffer to/from a Base64 string.\n* Conversion from/to a byte buffer to/from a hexadecimal string.\n* Conversion from/to a byte buffer to/from an array of integers.\n\n#### Extraccion of data from a byte buffer ####\n\n* Exraction of an integer-8 (a byte) from a given position, and optional signing specification\n* Exraction of an integer-16 (usually known in other languages as *short int*) from a given position, and optional signing and endianness\n* Exraction of an integer-32 (usually known in other languages as *int*) from a given position, and optional signing and endianness\n* Exraction of an integer-64 (usually known in other languages as *long int*) from a given position, and optional signing and endianness\n* Exraction of a float-32 (usually known in other languages as *float*) from a given position, and optional endianness\n* Exraction of a float-64 (usually known in other languages as *double float*) from a given position, and optional endianness\n\n#### Update data in a byte buffer ####\n\n* Update an integer-8 value (a byte) from a given position, and optional signing specification\n* Update an integer-16 value (usually known in other languages as *short int*) from a given position, and optional signing and endianness\n* Update an integer-32 value (usually known in other languages as *int*) from a given position, and optional signing and endianness\n* Update an integer-64 value (usually known in other languages as *long int*) from a given position, and optional signing and endianness\n* Update a float-32 value (usually known in other languages as *float*) from a given position, and optional endianness\n* Update a float-64 value (usually known in other languages as *double float*) from a given position, and optional endianness\n\n#### Expressions for options ####\n\n* Signing\n    * Unsigned (default)\n    * Signed\n* [Endianness](https://en.wikipedia.org/wiki/Endianness)\n    * Little-endian (default)\n    * Big-endian\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fformulae-org%2Fpackage-data-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fformulae-org%2Fpackage-data-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fformulae-org%2Fpackage-data-js/lists"}