clearer size for schema

This commit is contained in:
mratsim 2018-08-07 11:07:40 +02:00
parent 56ca588764
commit b2d2f7039a
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ proc serializeETH[T](x: T): seq[byte] =
# Some reports
echo "Schema: " & $schema
echo "Schema size: " & $schema.len
echo "Raw data offset (== metadata size): " & $offset
echo "Raw data offset (== metadata size including schema): " & $offset
echo "Raw data size (bytes): " & $(result.len - offset)
echo "Total size (bytes): " & $result.len