Class Utilities
- java.lang.Object
-
- io.github.applecommander.applesingle.Utilities
-
public class Utilities extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.StringentryToAsciiString(Entry entry)Convert bytes in an Entry to a 7-bit ASCII string.static byte[]toByteArray(java.io.InputStream inputStream)Utility method to read all bytes from an InputStream.
-
-
-
Method Detail
-
toByteArray
public static byte[] toByteArray(java.io.InputStream inputStream) throws java.io.IOExceptionUtility method to read all bytes from an InputStream.- Throws:
java.io.IOException
-
entryToAsciiString
public static java.lang.String entryToAsciiString(Entry entry)
Convert bytes in an Entry to a 7-bit ASCII string. Emphasis on 7-bit in case Apple II high bit is along for the ride.
-
-