Skip to content

Eldritch Implement file.read_binary #865

@hulto

Description

@hulto

Is your feature request related to a problem? Please describe.
We don't have a way to read a file into a binary format from disk.
This has made developing tomes for BOF and .NET really frustrating since I need to recompile golem every time.

Describe the solution you'd like
Create an eldritch function file.read_binary(src: str) -> List<int>
Should be similar to the assets.read_binary feature added in this PR: https://github.com/spellshift/realm/pull/740/files

Describe alternatives you've considered
na

Additional context
na

Metadata

Metadata

Assignees

No one assigned

    Labels

    eldritchRelated to the Eldritch languagefeatureNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions