Use `binary.BigEndian.PutUint64` for sim.Asset
manoranjith opened this issue · 0 comments
manoranjith commented
Location
[backend/sim/asset]
Problem
Currently, we use perunio.Encode
method to encode the asset. This couples the sim.Asset
to a specific serialization implementation.
Proposal
As suggested by @matthiasgeihs in the review of 272, use binary.BigEndian.PutUint64
directly for marshalling the sim.Asset
which is of type int64.