### Question:
FidDecoder { public static Fid build(String fid) throws Exception { return Fid.parseFrom(Base64.decode(fid, Base64.DEFAULT)); }  static Fid build(String fid); static int version(byte[] bytes); static int compress(byte[] bytes); static long storageName(byte[] bytes); static String uuid(byte[] bytes); static long time(byte[] bytes); static String duration(InputStream input); static long offset(byte[] offsetByte); static long size(byte[] sizeByte); static List<Integer> serverId(InputStream input);  }### Answer:
@Test public void testDecoderFids(){ String fid = "CAAQABgAIiA0ZGY4MTgwOTMxYTY0ZjNlYTVmYzQwMjEzY2NjZDdkMijqwd37+ywwwM8kOgIyMjoCMjBAqIFLSIeQAw=="; System.out.println("fid length "+fid.length()); int count = 1000000; FileDataProtos.Fid fids = null; long start = System.currentTimeMillis(); for(int i = 0;i <count;i++){ try{ fids = FidDecoder.build(fid); } catch(Exception e){ e.printStackTrace(); } } long end = System.currentTimeMillis(); System.out.println("count : "+ count+ " ,time :"+(end -start) + "ms"); }