def decoded_time(self, ulid): """Extract time in from `ulid`. The unit of the returned value is 1/self.t_factor seconds. """ return dc_base32.decoded(dc_base32.normalized(ulid)[:self.t_length])
def decoded_time (self, ulid) : """Extract time in from `ulid`. The unit of the returned value is 1/self.t_factor seconds. """ return dc_base32.decoded (dc_base32.normalized (ulid) [:self.t_length])
def decoded_random(self, ulid): """Extract random value from `ulid`.""" return dc_base32.decoded(dc_base32.normalized(ulid)[self.t_length:])
def decoded_random (self, ulid) : """Extract random value from `ulid`.""" return dc_base32.decoded (dc_base32.normalized (ulid) [self.t_length:])