code: public static int decodeSequence(byte[] flakeBytes) {
          ByteBuffer buffer = ByteBuffer.allocate(16);
          buffer.put(flakeBytes);
          buffer.flip();
          buffer.getLong();
          return (int)(buffer.getLong() & 0x000000000000FFFF);
      }
docs: Return the sequence number from the given encoded Snowflake id.
  
  @param flakeBytes the id to decode from