Skip to content

Commit

Permalink
move stuff around
Browse files Browse the repository at this point in the history
  • Loading branch information
BorisGerretzen committed Nov 16, 2023
1 parent 058e7fd commit 1062b13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions GdsSharp.Lib/Parsing/Tokens/GdsHeader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ public class GdsHeader : IGdsSimpleRead, IGdsSimpleWrite
/// Total length of the record, including the header itself.
/// When setting make sure you include <see cref="RecordSize" />.
/// </summary>
public ushort Length { get; set; }
public ushort Length { get; init; }

/// <summary>
/// Number of bytes to read after the header.
Expand All @@ -18,7 +18,7 @@ public class GdsHeader : IGdsSimpleRead, IGdsSimpleWrite
/// <summary>
/// Record type.
/// </summary>
public ushort Code { get; set; }
public ushort Code { get; init; }

public ushort GetLength()
{
Expand Down

0 comments on commit 1062b13

Please sign in to comment.