Class RBlocks


  • public class RBlocks
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      RBlocks change​(java.math.BigInteger E, java.math.BigInteger N)  
      static RBlocks readFrom​(byte[] fileContent, int size)  
      byte[] toByteArray​(int size)  
      java.lang.String toString()  
      void writeTo​(java.io.OutputStream os, int size)  
      void writeTo​(java.nio.file.Path out, int size)  
      • Methods inherited from class java.lang.Object

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

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • readFrom

        public static RBlocks readFrom​(byte[] fileContent,
                                       int size)
      • change

        public RBlocks change​(java.math.BigInteger E,
                              java.math.BigInteger N)
      • writeTo

        public void writeTo​(java.nio.file.Path out,
                            int size)
                     throws java.io.IOException
        Throws:
        java.io.IOException
      • toByteArray

        public byte[] toByteArray​(int size)
                           throws java.io.IOException
        Throws:
        java.io.IOException
      • writeTo

        public void writeTo​(java.io.OutputStream os,
                            int size)
                     throws java.io.IOException
        Throws:
        java.io.IOException