Closed rkalis closed 4 years ago
Currently bytes type casting is done like this:
bytes8(...) bytes4(...) bytes100(...) bytes(...)
But it can be possible that the size of your bytes type is determined by another variable. So we should add the following syntax:
bytes(..., size)
This was added in v0.4.0.
Currently bytes type casting is done like this:
But it can be possible that the size of your bytes type is determined by another variable. So we should add the following syntax: