aboutsummaryrefslogtreecommitdiff
path: root/BDInfo/TSStreamBuffer.cs
diff options
context:
space:
mode:
authorErwin de Haan <EraYaN@users.noreply.github.com>2019-01-13 21:31:14 +0100
committerErwin de Haan <EraYaN@users.noreply.github.com>2019-01-13 21:31:14 +0100
commita36658f6f0ed342d8b55dbf7c9ff95fe3abfa818 (patch)
treeb1484407efd83b243d0ea792b18c598e9ff53053 /BDInfo/TSStreamBuffer.cs
parent9fa60ec9340cbc8b4ed3e866fcf61852077902a1 (diff)
ReSharper Reformat: Properties to expression bodied form.
Diffstat (limited to 'BDInfo/TSStreamBuffer.cs')
-rw-r--r--BDInfo/TSStreamBuffer.cs16
1 files changed, 2 insertions, 14 deletions
diff --git a/BDInfo/TSStreamBuffer.cs b/BDInfo/TSStreamBuffer.cs
index 36f3149fa4..17025c2e31 100644
--- a/BDInfo/TSStreamBuffer.cs
+++ b/BDInfo/TSStreamBuffer.cs
@@ -37,21 +37,9 @@ namespace BDInfo
Stream = new MemoryStream(Buffer);
}
- public long Length
- {
- get
- {
- return (long)BufferLength;
- }
- }
+ public long Length => (long)BufferLength;
- public long Position
- {
- get
- {
- return Stream.Position;
- }
- }
+ public long Position => Stream.Position;
public void Add(
byte[] buffer,