Skip to content

Conversation

@rheone
Copy link
Member

@rheone rheone commented Feb 3, 2025

Now targeting .NET Standard 2.0, .NET 8, and .NET 9. Dropping support for .NET Standard 1.3
This "modernized" version is intended to be a stutter step before any API changes for a potential version 3

  • Updated solution and projects
  • Structure repository project layout
  • Add linting, formatting, and applied changes
  • Update dependencies and removes dependencies no longer needed
  • Adds and configure various GitHub actions for building, release, and updates
  • Adds miscellaneous files

Now targeting .NET Standard 2.0, .NET 8, and .NET 9. Dropping support for .NET Standard 1.3
This "modernized" version is intended to be a stutter step before any API changes before a version 3

- Updated solution and projects
- Structure repository project layout
- Add linting, formatting, and and applied changes
- Update dependencies and removes dependencies
- Adds and configure various GitHub actions for building, release, and updates
- Adds miscellaneous files
@rheone rheone self-assigned this Feb 3, 2025
@scj7t4
Copy link

scj7t4 commented Mar 3, 2025

Looks good, only other thing I noticed missing is that .editorconfig doesn't have analyzer rules yet even though you deleted the ruleset files.

Copy link

@scj7t4 scj7t4 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor spelling / documentation, might not be worth fixing in this PR

public static byte[] AppendBytes([NotNull] this byte[] source,
int count,
byte element = 0x00)
/// <returns></returns>
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Empty returns doc

/// <param name="right">the right side operand</param>
public static (byte[] left, byte[] right) AppendShortest([NotNull] byte[] left,
[NotNull] byte[] right)
/// <returns></returns>
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Empty returns doc

/// <param name="right">the right side operand</param>
public static (byte[] left, byte[] right) PrependShortest([NotNull] byte[] left,
[NotNull] byte[] right)
/// <returns></returns>
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

empty returns doc

/// <param name="right">the right side operand</param>
public static int CompareUnsignedBigEndian([NotNull] byte[] left,
[NotNull] byte[] right)
/// <returns></returns>
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Empty returns doc

/// </summary>
/// <param name="input">the input bytes</param>
public static int BigEndianEffectiveLength([NotNull] this byte[] input)
/// <returns></returns>
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

empty returns doc

}
// long.MinValue (-9223372036854775808) is a special case
// getting the absolute value of a the minimum value of a twos complement number is invalid and will cause a OverflowException
// We must therefor build the equivalent of abs(long.MinValue) big endian bytes manually
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

therefore

@rheone
Copy link
Member Author

rheone commented Mar 3, 2025

@scj7t4

Looks good, only other thing I noticed missing is that .editorconfig doesn't have analyzer rules yet even though you deleted the ruleset files.

There are actually 2 .editorcofig files now.

@rheone rheone merged commit b7838d3 into main Mar 3, 2025
4 checks passed
@rheone rheone deleted the Version2RefactorTarget branch March 3, 2025 23:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants