{"id":21819414,"url":"https://github.com/dflydev/dflydev-snort-buffer","last_synced_at":"2026-04-27T01:31:36.214Z","repository":{"id":6346723,"uuid":"7583041","full_name":"dflydev/dflydev-snort-buffer","owner":"dflydev","description":"[READ-ONLY] Subtree split of Dflydev\\Snort\\Buffer.","archived":false,"fork":false,"pushed_at":"2013-01-13T17:20:06.000Z","size":116,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-03T03:02:52.885Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":false,"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/dflydev.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}},"created_at":"2013-01-13T01:40:50.000Z","updated_at":"2017-04-01T10:17:18.000Z","dependencies_parsed_at":"2022-08-30T18:32:52.444Z","dependency_job_id":null,"html_url":"https://github.com/dflydev/dflydev-snort-buffer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dflydev/dflydev-snort-buffer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dflydev%2Fdflydev-snort-buffer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dflydev%2Fdflydev-snort-buffer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dflydev%2Fdflydev-snort-buffer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dflydev%2Fdflydev-snort-buffer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dflydev","download_url":"https://codeload.github.com/dflydev/dflydev-snort-buffer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dflydev%2Fdflydev-snort-buffer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32319559,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T23:26:28.701Z","status":"ssl_error","status_checked_at":"2026-04-26T23:26:25.802Z","response_time":129,"last_error":"SSL_read: 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":[],"created_at":"2024-11-27T16:19:01.832Z","updated_at":"2026-04-27T01:31:36.200Z","avatar_url":"https://github.com/dflydev.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Snort - Buffer\n==============\n\nByte buffer statistics and analaysis.\n\n\nRequirements\n------------\n\n * PHP 5.3+\n\n\nInstallation\n------------\n\nThrough [Composer][1] as [dflydev/snort-buffer][2].\n\n\nUsage\n-----\n\n```php\n\u003c?php\n\nrequire __DIR__.'/vendor/autoload.php';\n\n$resource = fopen('/path/to/a/file', 'r');\n$bytes = fread($resource, 512);\n\n$buffer = new Dflydev\\Snort\\Buffer\\Buffer;\n$buffer-\u003eaddData($bytes, 0, strlen($bytes));\n\n// Number of occurances of the ASCII letter 'a'.\nprint $buffer-\u003ecount(0x61) . \"\\n\";\n\n// Number of occurances of any ASCII character\n// between 32-127.\nprint $buffer-\u003ecountRange(0x20, 128) . \"\\n\";\n```\n\n\nLicense\n-------\n\nMIT, see LICENSE.\n\n\nCommunity\n---------\n\nIf you have questions or want to help out, join us in the **#dflydev** channel\non **irc.freenode.net** or mention [@dflydev][4] on Twitter.\n\n\nNot Invented Here\n-----------------\n\nThis work was heavily influenced by [Apache Tika][3].\n\n\n[1]: http://getcomposer.org\n[2]: https://packagist.org/packages/dflydev/snort\n[3]: http://tika.apache.org\n[4]: https://twitter.com/dflydev\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdflydev%2Fdflydev-snort-buffer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdflydev%2Fdflydev-snort-buffer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdflydev%2Fdflydev-snort-buffer/lists"}