Skip to content

Commit

Permalink
Merge branch 'master' into add_maxvaliduntilblockincrement_into_config
Browse files Browse the repository at this point in the history
  • Loading branch information
Qiao-Jin authored Nov 3, 2020
2 parents 9db6700 + 6968494 commit be552e2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/neo/SmartContract/BinarySerializer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

namespace Neo.SmartContract
{
internal static class BinarySerializer
public static class BinarySerializer
{
private class ContainerPlaceholder : StackItem
{
Expand Down Expand Up @@ -50,7 +50,7 @@ public static unsafe StackItem Deserialize(ReadOnlySpan<byte> data, uint maxArra
}
}

private static StackItem Deserialize(BinaryReader reader, uint maxArraySize, uint maxItemSize, ReferenceCounter referenceCounter)
public static StackItem Deserialize(BinaryReader reader, uint maxArraySize, uint maxItemSize, ReferenceCounter referenceCounter)
{
Stack<StackItem> deserialized = new Stack<StackItem>();
int undeserialized = 1;
Expand Down Expand Up @@ -141,7 +141,7 @@ public static byte[] Serialize(StackItem item, uint maxSize)
return ms.ToArray();
}

private static void Serialize(StackItem item, BinaryWriter writer, uint maxSize)
public static void Serialize(StackItem item, BinaryWriter writer, uint maxSize)
{
List<CompoundType> serialized = new List<CompoundType>();
Stack<StackItem> unserialized = new Stack<StackItem>();
Expand Down

0 comments on commit be552e2

Please sign in to comment.