@Override
 public void print(byte[] b, int s, int l, PrintStream ps) throws AlgebricksException {
   int validLength = ABinarySerializerDeserializer.getLength(b, s + 1);
   int start = s + 1 + ABinarySerializerDeserializer.SIZE_OF_LENGTH;
   try {
     ps.print("\"");
     PrintTools.printHexString(b, start, validLength, ps);
     ps.print("\"");
   } catch (IOException e) {
     throw new AlgebricksException(e);
   }
 }
 @Override
 public void print(byte[] b, int s, int l, PrintStream ps) throws AlgebricksException {
   ps.print("{ \"duration\": \"");
   PrintTools.printDurationString(b, s, l, ps);
   ps.print("\" }");
 }