Skip to content

Add TransformationStatus enum from corefxlab #22845

@stephentoub

Description

@stephentoub

Based on corefxlab work, will be used by a variety of new corefx Span-based APIs. We need to re-review to make sure it's exactly what we want to bake in to the core of the framework

namespace System.Buffers // System?
{
    public enum TransformationStatus // TransformStatus?  TransformResult?
    {
        Done, // Success? Complete? Ok?
        DestinationTooSmall,
        NeedMoreSourceData, // SourceTooSmall?
        InvalidData
    }
}

cc: @terrajobst, @bartonjs, @KrzysztofCwalina, @ahsonkhan

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions