Table of Contents

Interface ILayerParser<T>

Namespace
Olve.OpenRaster
Assembly
Olve.OpenRaster.dll

Defines a parser for extracting and converting a layer from a stream.

public interface ILayerParser<T>

Type Parameters

T

The output type of the parsed layer.

Methods

ParseLayer(Stream)

Parses a layer from a provided stream.

Result<T> ParseLayer(Stream stream)

Parameters

stream Stream

A stream positioned at the beginning of the layer data.

Returns

Result<T>

A Result<T> containing the parsed layer if successful, or a ResultProblem if an error occurs.