Skip to content

Enable images of arbitrary size #898

@antonfirsov

Description

@antonfirsov

Currently our images and internal buffers are limited to Int32.MaxValue size, ArgumentOutOfRange exception is thrown when a code attempts to allocate a larger buffer.

The most robust way to overcome this limitation would be enabling discontinuous buffers in our memory management, by adapting ReadOnlySequence<T> defining a writable memory sequence primitive. EDIT: ReadOnlySequence<T> is not the way to go, it's purpose is completely different.

This is a breaking change, so we really need to know how many users are interested in this use case, before commiting ourself. If you are one of them, please let us know about your use case in comments! (Platform, purpose of application etc.)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions