Skip to content

FileBox.fromStream() should only be used once, and it must throw if be used again. #50

@windmemory

Description

@windmemory

Seems like the FileBox in Stream type does not behave the same as all the other types, since the data for this type of FileBox is lazy loaded and can only be transferred once. So how might we support multiple operations on the Stream FileBox?

I created a unit test to test this case and currently it is failed. Let's make it pass.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions