Skip to content

Commit

Permalink
Fix typo bug on Int64Serializer helper class. (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
koculu authored Apr 5, 2023
1 parent be17ec7 commit a75d668
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/ZoneTree/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<Authors>Ahmed Yasin Koculu</Authors>
<PackageId>ZoneTree</PackageId>
<Title>ZoneTree</Title>
<ProductVersion>1.6.0.0</ProductVersion>
<Version>1.6.0.0</Version>
<ProductVersion>1.6.1.0</ProductVersion>
<Version>1.6.1.0</Version>
<Authors>Ahmed Yasin Koculu</Authors>
<AssemblyTitle>ZoneTree</AssemblyTitle>
<Description>ZoneTree is a persistent, high-performance, transactional, ACID-compliant ordered key-value database for NET. It can operate in memory or on local/cloud storage.</Description>
Expand Down
2 changes: 1 addition & 1 deletion src/ZoneTree/Serializers/Int64Serializer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ public sealed class Int64Serializer : ISerializer<long>
{
public long Deserialize(byte[] bytes)
{
return BitConverter.ToInt32(bytes);
return BitConverter.ToInt64(bytes);
}

public byte[] Serialize(in long entry)
Expand Down

0 comments on commit a75d668

Please sign in to comment.