Skip to content

Prevent Partial Reads and Writes #125

@paragonie-scott

Description

@paragonie-scott

See also: Halite's File::readBytes() and File::writeBytes() API for reference.

This could greatly reduce the amount of if ($result === false) lines by making a separate method for stream reading/writing that throws an exception if it can't proceed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions