Skip to content

Commit 0f34aea

Browse files
committed
Make Serialize Method Public in DepotManifest
1 parent c6dd216 commit 0f34aea

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

SteamKit2/SteamKit2/Types/DepotManifest.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,11 @@ public int GetHashCode( byte[] obj )
389389
}
390390
}
391391

392-
byte[]? Serialize()
392+
/// <summary>
393+
/// Serializes the depot manifest into a byte array.
394+
/// </summary>
395+
/// <returns>A byte array containing the serialized depot manifest. Returns <c>null</c> if serialization fails.</returns>
396+
public byte[]? Serialize()
393397
{
394398
DebugLog.Assert( Files != null, nameof( DepotManifest ), "Files was null when attempting to serialize manifest." );
395399

0 commit comments

Comments
 (0)