mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
General code refactor.
This commit is contained in:
24
LisaTag.cs
24
LisaTag.cs
@@ -36,17 +36,13 @@ using Aaru.Helpers;
|
||||
|
||||
namespace Aaru.Decoders
|
||||
{
|
||||
/// <summary>
|
||||
/// Represents a Lisa Office 7/7 sector tag
|
||||
/// </summary>
|
||||
/// <summary>Represents a Lisa Office 7/7 sector tag</summary>
|
||||
[SuppressMessage("ReSharper", "MemberCanBeInternal"), SuppressMessage("ReSharper", "NotAccessedField.Global"),
|
||||
SuppressMessage("ReSharper", "MemberCanBePrivate.Global")]
|
||||
[SuppressMessage("ReSharper", "StructMemberCanBeMadeReadOnly")]
|
||||
SuppressMessage("ReSharper", "MemberCanBePrivate.Global"),
|
||||
SuppressMessage("ReSharper", "StructMemberCanBeMadeReadOnly")]
|
||||
public static class LisaTag
|
||||
{
|
||||
/// <summary>
|
||||
/// Decodes tag from a 3.5" Sony micro-floppy
|
||||
/// </summary>
|
||||
/// <summary>Decodes tag from a 3.5" Sony micro-floppy</summary>
|
||||
/// <param name="tag">Byte array containing raw tag data</param>
|
||||
/// <returns>Decoded tag in Sony's format</returns>
|
||||
public static SonyTag? DecodeSonyTag(byte[] tag)
|
||||
@@ -73,9 +69,7 @@ namespace Aaru.Decoders
|
||||
return snTag;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Decodes tag from a Profile
|
||||
/// </summary>
|
||||
/// <summary>Decodes tag from a Profile</summary>
|
||||
/// <param name="tag">Byte array containing raw tag data</param>
|
||||
/// <returns>Decoded tag in Profile's format</returns>
|
||||
public static ProfileTag? DecodeProfileTag(byte[] tag)
|
||||
@@ -123,9 +117,7 @@ namespace Aaru.Decoders
|
||||
return phTag;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Decodes tag from a Priam
|
||||
/// </summary>
|
||||
/// <summary>Decodes tag from a Priam</summary>
|
||||
/// <param name="tag">Byte array containing raw tag data</param>
|
||||
/// <returns>Decoded tag in Priam's format</returns>
|
||||
public static PriamTag? DecodePriamTag(byte[] tag)
|
||||
@@ -175,9 +167,7 @@ namespace Aaru.Decoders
|
||||
return pmTag;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Decodes tag from any known format
|
||||
/// </summary>
|
||||
/// <summary>Decodes tag from any known format</summary>
|
||||
/// <param name="tag">Byte array containing raw tag data</param>
|
||||
/// <returns>Decoded tag in Priam's format</returns>
|
||||
public static PriamTag? DecodeTag(byte[] tag)
|
||||
|
||||
Reference in New Issue
Block a user