{"id":20776418,"url":"https://github.com/signalarray/xmat","last_synced_at":"2026-02-14T18:31:53.689Z","repository":{"id":217194301,"uuid":"741640937","full_name":"signalarray/xmat","owner":"signalarray","description":"Serialization library for multi-dimensional numeric arrays structured in key-value format.","archived":false,"fork":false,"pushed_at":"2024-07-16T19:39:17.000Z","size":437,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-28T23:47:44.948Z","etag":null,"topics":["multi-dimensional-array","serialization"],"latest_commit_sha":null,"homepage":"https://xmat.readthedocs.io","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/signalarray.png","metadata":{"files":{"readme":"README.md","changelog":"changelog.md","contributing":null,"funding":null,"license":null,"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-01-10T20:08:56.000Z","updated_at":"2024-07-16T19:39:21.000Z","dependencies_parsed_at":"2024-01-17T00:19:43.512Z","dependency_job_id":"40b90639-d74a-4a0f-9ff6-769810de9aba","html_url":"https://github.com/signalarray/xmat","commit_stats":null,"previous_names":["signalarray/xmat"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/signalarray/xmat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/signalarray%2Fxmat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/signalarray%2Fxmat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/signalarray%2Fxmat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/signalarray%2Fxmat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/signalarray","download_url":"https://codeload.github.com/signalarray/xmat/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/signalarray%2Fxmat/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29452371,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-14T15:52:44.973Z","status":"ssl_error","status_checked_at":"2026-02-14T15:52:11.208Z","response_time":53,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["multi-dimensional-array","serialization"],"created_at":"2024-11-17T13:08:07.585Z","updated_at":"2026-02-14T18:31:53.675Z","avatar_url":"https://github.com/signalarray.png","language":"C++","readme":"TODO\n====\n```\ncpp:\n- [----------] check cpp XBlock.load.shape with 0 ndim/for scalar\n- [++++------] check MapStream\u003cfile\u003e\n- [++++++++--] cpp TCP full test\n               + sudden shutdown handling\n- [++++++++--] check NArray-\u003eserial\n- [+++++++++-] change data format implementation\n               - Head.BOM check-error\n- [+++++++++-] add big-little endian support\n```\n\n# XMAT Format Description\n```\n    +---------+---------------------+---------------------+-----+-------------------------+\n    |  Header |  Block[0] / Data[0] |  Block[1] / Data[1] | ... |  Block[N-1] / Data[N-1] |\n    +---------+---------------------+---------------------+-----+-------------------------+\n```\n\n### Header Format: 17 bytes.\n```\n     0                   1                   2                   3\n     0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1\n    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+\n    | Sign  |BOM|   Total Size  |I|S|B|\n    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+\n\n             Sign:  format signature\n              BOM:  byte order marker\n       Total Size:  message total length\n                I:  size of int (always 8 )\n                S:  maximum number of dimensions in a multidimensional array\n                B:  maximum block name length\n```\n\n### Block Format: (8 + ndim * 8 + len(name)) bytes.\n\n```\n     0                   1                   2                   3\n     0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1\n    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+\n    |o|t|s|b|-zeros-| Shape[0]      / Shape[1]      / Shape[2]      /\n    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+\n    /     ...       / Shape[s-1]    |Block Name    ...         ...  /\n    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+\n    | Data\n    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+\n\n                o:  array elements order: {`C`: C-language, `F`: Fortran}, char\n                t:  tipe id, uint8\n                s:  number of dimentions, uint8\n                b:  block name length (with out end '\\0'), uint8\n            Shape:  size of array in each dimension, uint8[s]\n       Block Name:  block name, char[b]\n```\n\n### Data: numel * sizeof(type) bytes\n\n\nSocket Communication Examples\n==========================\nExample 0:\n----------\n![socket-example-0](/docs/resources/socket-scheme-0.png)\n\nExample 1:\n--------------\n![socket-example-1](/docs/resources/socket-scheme-1.png)\n\nExample 2:\n--------------\n![socket-example-2](/docs/resources/socket-scheme-2.png)\n\n# Types Supported\n\n```\nid    sizeof  label   name\n------------------------\n# 00-15\n0x00  1       c       char\n0x01  1       ?       bool  (specific implementation required)\n\n# 16-31: i (*)\n0x10  1       i0      int8\n0x11  2       i1      int16\n0x12  4       i2      int32\n0x13  8       i3      int64\n0x14  16      i4      int128\n\n# 32-47: I\n0x20  2       I0      complex int8\n0x21  4       I1      complex int16\n0x22  8       I2      complex int32\n0x23  16      I3      complex int64\n0x24  32      I4      complex int128\n\n# 48-63: u\n0x30  1       u0      unsigned int8\n0x31  2       u1      unsigned int16\n0x32  4       u2      unsigned int32\n0x33  8       u3      unsigned int64\n0x34  16      u4      unsigned int128\n\n# 64-79: U\n0x40  2       U0      complex unsigned int8\n0x41  4       U1      complex unsigned int16\n0x42  8       U2      complex unsigned int32\n0x43  16      U3      complex unsigned int64\n0x44  32      U4      complex unsigned int128\n\n# 80-95: f\n0x50  1       f0      float8(**)\n0x51  2       f1      float16(**)\n0x52  4       f2      float32\n0x53  8       f3      float64\n\n# 96-111: F\n0x60  2       F0      complex float8\n0x61  4       F1      complex float16\n0x62  8       F2      complex float32\n0x63  16      F4      complex float64\n\n*:\nik: nbits = 8*2^k. \n  i0 = int 8 bit, \n  i4 = 8*2^4 = int 128 bit\n\n**:\nfor example cuda float 16 bit half.\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsignalarray%2Fxmat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsignalarray%2Fxmat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsignalarray%2Fxmat/lists"}