Code example for ByteArrayOutputStream

Methods: sizetoByteArray

0
/*    */   } 
/*    */  
/*    */   public byte[] downFile(String remot)
/*    */     throws FtpConnectionException, IOException 
/*    */   { 
/* 34 */     ByteArrayOutputStream outStream = new ByteArrayOutputStream();
/* 35 */     super.downFile(outStream, remot);
/* 36 */     byte[] bytes = new byte[outStream.size()];
/* 37 */     bytes = outStream.toByteArray();
/* 38 */     return bytes;
/*    */   } 
/*    */ } 
 
/* Location:           C:\Users\gefangshuai\Desktop\sqds2.0.jar 
 * Qualified Name:     com.sqds.ftp.HttpFtp 
 * JD-Core Version:    0.6.2 
 */