forked from ForeverZer0/SharpNBT
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changed target to .NET 7 with latest language version
Changed to use latest language/runtime, as well as adopt modern style/syntax.
- Loading branch information
1 parent
44e723f
commit d73bc2f
Showing
43 changed files
with
4,753 additions
and
5,456 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,31 @@ | ||
using JetBrains.Annotations; | ||
|
||
namespace SharpNBT | ||
namespace SharpNBT; | ||
|
||
/// <summary> | ||
/// Describes compression formats supported by the NBT specification. | ||
/// </summary> | ||
[PublicAPI] | ||
public enum CompressionType : byte | ||
{ | ||
/// <summary> | ||
/// Describes compression formats supported by the NBT specification. | ||
/// No compression. | ||
/// </summary> | ||
[PublicAPI] | ||
public enum CompressionType : byte | ||
{ | ||
/// <summary> | ||
/// No compression. | ||
/// </summary> | ||
None, | ||
None, | ||
|
||
/// <summary> | ||
/// GZip compression | ||
/// </summary> | ||
GZip, | ||
/// <summary> | ||
/// GZip compression | ||
/// </summary> | ||
GZip, | ||
|
||
/// <summary> | ||
/// ZLib compression | ||
/// </summary> | ||
ZLib, | ||
/// <summary> | ||
/// ZLib compression | ||
/// </summary> | ||
ZLib, | ||
|
||
/// <summary> | ||
/// Automatically detect compression using magic numbers. | ||
/// </summary> | ||
/// <remarks>This is not a valid value when specifying a compression type for <b>writing</b>.</remarks> | ||
AutoDetect = 0xFF | ||
} | ||
|
||
/// <summary> | ||
/// Automatically detect compression using magic numbers. | ||
/// </summary> | ||
/// <remarks>This is not a valid value when specifying a compression type for <b>writing</b>.</remarks> | ||
AutoDetect = 0xFF | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.