Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature request: Implement NSData +dataWithContentsOfXXX:options:error: and -initdataWithContentsOfXXX:options:error: #441

Open
buzzdeee opened this issue Aug 29, 2024 · 0 comments

Comments

@buzzdeee
Copy link
Contributor

+ dataWithContentsOfFile:options:error:
Creates a data object by reading every byte from the file at a given path.
+ dataWithContentsOfURL:options:error:
Creates a data object from the data at the provided file URL using specific reading options.

- initWithContentsOfFile:options:error:
Initializes a data object with the content of the file at a given path.

- initWithContentsOfURL:options:error:
Creates a data object from the data at the provided file URL using specific reading options.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant