Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions IO.Ably.DeltaCodec/DeltaApplicationResult.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ namespace IO.Ably.DeltaCodec
/// </summary>
public class DeltaApplicationResult
{
private readonly byte[] data;
private readonly byte[] _data;

internal DeltaApplicationResult(byte[] data)
{
this.data = data;
_data = data;
}

/// <summary>
Expand All @@ -20,7 +20,7 @@ internal DeltaApplicationResult(byte[] data)
/// <returns>byte[] representation of this delta application result</returns>
public byte[] AsByteArray()
{
return this.data;
return _data;
}

/// <summary>
Expand All @@ -30,7 +30,7 @@ public byte[] AsByteArray()
/// <returns>The UTF-8 string representation of this delta application result</returns>
public string AsUtf8String()
{
return Encoding.UTF8.GetString(this.data);
return Encoding.UTF8.GetString(_data);
}
}
}