Title: Pharo7+: contents of empty binary file are `nil` rather than an empty instance of ByteArray · Issue #107 · SeasideSt/Grease · GitHub
Open Graph Title: Pharo7+: contents of empty binary file are `nil` rather than an empty instance of ByteArray · Issue #107 · SeasideSt/Grease
X Title: Pharo7+: contents of empty binary file are `nil` rather than an empty instance of ByteArray · Issue #107 · SeasideSt/Grease
Description: Given an empty file somefile, the following returns nil instead of an empty instance of ByteArray. GRPlatform current contentsOfFile: 'somefile' binary: true This is not consistent with text files (which return an empty instance of Strin...
Open Graph Description: Given an empty file somefile, the following returns nil instead of an empty instance of ByteArray. GRPlatform current contentsOfFile: 'somefile' binary: true This is not consistent with text files ...
X Description: Given an empty file somefile, the following returns nil instead of an empty instance of ByteArray. GRPlatform current contentsOfFile: 'somefile' binary: true This is not consistent with tex...
Opengraph URL: https://github.com/SeasideSt/Grease/issues/107
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Pharo7+: contents of empty binary file are `nil` rather than an empty instance of ByteArray","articleBody":"Given an empty file `somefile`, the following returns `nil` instead of an empty instance of `ByteArray`.\r\n\r\n```Smalltalk\r\nGRPlatform current contentsOfFile: 'somefile' binary: true\r\n```\r\nThis is not consistent with text files (which return an empty instance of `String`), nor with previous Pharo versions.\r\n\r\nThe change is caused because of https://github.com/SeasideSt/Grease/pull/106","author":{"url":"https://github.com/jbrichau","@type":"Person","name":"jbrichau"},"datePublished":"2020-07-31T09:31:22.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/107/Grease/issues/107"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:58a77627-9856-397f-df95-2bcedef97bf2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D1D8:2A7238:1513578:1C069D3:696BDBA2 |
| html-safe-nonce | 6f1a6e313a2020c2793e1f4b4c126f005e0bd1f6917e768839c60e0973fea005 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMUQ4OjJBNzIzODoxNTEzNTc4OjFDMDY5RDM6Njk2QkRCQTIiLCJ2aXNpdG9yX2lkIjoiNDk0NDE1NjkzMDMxODUyMzI5OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 42428bc3db0cc6d475cfaefde5705cd18d0017cf0f88df5160c2c5398213affb |
| hovercard-subject-tag | issue:669616615 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/SeasideSt/Grease/107/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8a82c28cf2ad122c4c4724d08aa55d0e5f81b8ecfcf92ac9edfb8d4137eaacea/SeasideSt/Grease/issues/107 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8a82c28cf2ad122c4c4724d08aa55d0e5f81b8ecfcf92ac9edfb8d4137eaacea/SeasideSt/Grease/issues/107 |
| og:image:alt | Given an empty file somefile, the following returns nil instead of an empty instance of ByteArray. GRPlatform current contentsOfFile: 'somefile' binary: true This is not consistent with text files ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jbrichau |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| go-import | github.com/SeasideSt/Grease git https://github.com/SeasideSt/Grease.git |
| octolytics-dimension-user_id | 8545049 |
| octolytics-dimension-user_login | SeasideSt |
| octolytics-dimension-repository_id | 16862014 |
| octolytics-dimension-repository_nwo | SeasideSt/Grease |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 16862014 |
| octolytics-dimension-repository_network_root_nwo | SeasideSt/Grease |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width