Class ByteUtils


  • public final class ByteUtils
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int BLOCK_SIZE  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static byte[] getByte​(java.io.File arquivo)  
      static byte[] getByte​(java.io.InputStream is)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getByte

        public static byte[] getByte​(java.io.File arquivo)
                              throws java.io.IOException
        Throws:
        java.io.IOException
      • getByte

        public static byte[] getByte​(java.io.InputStream is)
                              throws java.io.IOException
        Throws:
        java.io.IOException