Table of Contents

Method TryReadValue

Namespace
PaintDotNet.IO
Assembly
PaintDotNet.Fundamentals.dll

TryReadValue<T>(Stream, out T)

public static bool TryReadValue<T>(this Stream stream, out T value) where T : unmanaged

Parameters

stream Stream
value T

Returns

bool

Type Parameters

T

TryReadValue<T>(Stream)

public static T? TryReadValue<T>(this Stream stream) where T : unmanaged

Parameters

stream Stream

Returns

T?

Type Parameters

T