Enum concordium_std::SeekFrom
source · pub enum SeekFrom {
Start(u32),
End(i32),
Current(i32),
}
Expand description
This is essentially equivalent to the
SeekFrom type from
the rust standard library, but reproduced here to avoid dependency on
std::io
, as well as to use 32-bit integers to specify positions. This
saves some computation and space, and is adequate for the kind of data sizes
that are possible in smart contracts.