Package CH.ifa.draw.util

Examples of CH.ifa.draw.util.StorableInput


      return byteStream.toByteArray();
   }

   public static StorableFigureHolder fromBytes(byte[] bytes) throws IOException {
      ByteArrayInputStream byteStream = new ByteArrayInputStream(bytes);
      StorableInput in = new StorableInput(byteStream);
      return (StorableFigureHolder)in.readStorable();
   }
View Full Code Here

TOP

Related Classes of CH.ifa.draw.util.StorableInput

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.