code: @SuppressWarnings("deprecation")
    public static byte[] readBytes(DataInputStream in) throws IOException {
      UTF8 ustr = TL_DATA.get().U_STR;
      ustr.readFields(in);
      int len = ustr.getLength();
      byte[] bytes = new byte[len];
      System.arraycopy(ustr.getBytes(), 0, bytes, 0, len);
      return bytes;
    }
docs: Same comments apply for this method as for readString()