mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
16 lines
294 B
C#
16 lines
294 B
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.IO;
|
|||
|
using System.Text;
|
|||
|
|
|||
|
namespace Wabbajack.Common
|
|||
|
{
|
|||
|
public static class StreamExt
|
|||
|
{
|
|||
|
public static long Remaining(this Stream stream)
|
|||
|
{
|
|||
|
return stream.Length - stream.Position;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|