Currently the ParseBytes function returns the ByteAny interface. I'm not sure how useful this is in practice and I much rather follow "accept interfaces, return structs".
In this case maybe be can change the function to return a uint64 and the user can then decide to use a BytesIEC or BytesSI?
Currently the
ParseBytesfunction returns theByteAnyinterface. I'm not sure how useful this is in practice and I much rather follow "accept interfaces, return structs".In this case maybe be can change the function to return a uint64 and the user can then decide to use a BytesIEC or BytesSI?