Class BytesToUlidConverter

java.lang.Object
com.redis.om.spring.convert.BytesToUlidConverter
All Implemented Interfaces:
org.springframework.core.convert.converter.Converter<byte[],com.github.f4b6a3.ulid.Ulid>

@ReadingConverter public class BytesToUlidConverter extends Object implements org.springframework.core.convert.converter.Converter<byte[],com.github.f4b6a3.ulid.Ulid>
  • Constructor Details

    • BytesToUlidConverter

      public BytesToUlidConverter()
  • Method Details

    • convert

      public com.github.f4b6a3.ulid.Ulid convert(byte[] source)
      Specified by:
      convert in interface org.springframework.core.convert.converter.Converter<byte[],com.github.f4b6a3.ulid.Ulid>