test_class.file: base/lang/src/test/java/leap/lang/io/IOTest.java
test_class.identifier: IOTest
test_class.superclass: extends ConcurrentTestCase
test_case.body: @Test
  	public void testReadByteArrayReader() {
  		Reader r = new StringReader("hello");
  		assertEquals("hello", new String(IO.readByteArray(r)));
  		
  	}
test_case.class_method_signature: IOTest.testReadByteArrayReader()
test_case.full_signature: @Test public void testReadByteArrayReader()
test_case.identifier: testReadByteArrayReader
test_case.invocations: assertEquals readByteArray
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testReadByteArrayReader()
focal_class.declarator: EOF 				 = -1
focal_class.modifier: private static final
focal_class.original_string: private static final int EOF 				 = -1;
focal_class.type: int
focal_class.var_name: EOF
focal_class.declarator: DEFAULT_BUFFER_SIZE = 1024 * 4
focal_class.modifier: private static final
focal_class.original_string: private static final int DEFAULT_BUFFER_SIZE = 1024 * 4;
focal_class.type: int
focal_class.var_name: DEFAULT_BUFFER_SIZE
focal_class.file: base/lang/src/main/java/leap/lang/io/IO.java
focal_class.identifier: IO
focal_class.class_method_signature: IO.tmpdir()
focal_class.full_signature: public static String tmpdir()
focal_class.identifier: tmpdir
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String tmpdir()
focal_class.class_method_signature: IO.createReader(File file)
focal_class.full_signature: public static Reader createReader(File file)
focal_class.identifier: createReader
focal_class.modifiers: public static
focal_class.parameters: (File file)
focal_class.return: Reader
focal_class.signature: Reader createReader(File file)
focal_class.class_method_signature: IO.createReader(File file,Charset charset)
focal_class.full_signature: public static Reader createReader(File file,Charset charset)
focal_class.identifier: createReader
focal_class.modifiers: public static
focal_class.parameters: (File file,Charset charset)
focal_class.return: Reader
focal_class.signature: Reader createReader(File file,Charset charset)
focal_class.class_method_signature: IO.createWriter(File file)
focal_class.full_signature: public static Writer createWriter(File file)
focal_class.identifier: createWriter
focal_class.modifiers: public static
focal_class.parameters: (File file)
focal_class.return: Writer
focal_class.signature: Writer createWriter(File file)
focal_class.class_method_signature: IO.createWriter(File file,Charset charset)
focal_class.full_signature: public static Writer createWriter(File file,Charset charset)
focal_class.identifier: createWriter
focal_class.modifiers: public static
focal_class.parameters: (File file,Charset charset)
focal_class.return: Writer
focal_class.signature: Writer createWriter(File file,Charset charset)
focal_class.class_method_signature: IO.close(Closeable closeable)
focal_class.full_signature: public static void close(Closeable closeable)
focal_class.identifier: close
focal_class.modifiers: public static
focal_class.parameters: (Closeable closeable)
focal_class.return: void
focal_class.signature: void close(Closeable closeable)
focal_class.class_method_signature: IO.readByteArray(InputStream input)
focal_class.full_signature: public static byte[] readByteArray(InputStream input)
focal_class.identifier: readByteArray
focal_class.modifiers: public static
focal_class.parameters: (InputStream input)
focal_class.return: byte[]
focal_class.signature: byte[] readByteArray(InputStream input)
focal_class.class_method_signature: IO.readByteArrayAndClose(InputStream is)
focal_class.full_signature: public static byte[] readByteArrayAndClose(InputStream is)
focal_class.identifier: readByteArrayAndClose
focal_class.modifiers: public static
focal_class.parameters: (InputStream is)
focal_class.return: byte[]
focal_class.signature: byte[] readByteArrayAndClose(InputStream is)
focal_class.class_method_signature: IO.readByteArray(File file)
focal_class.full_signature: public static byte[] readByteArray(File file)
focal_class.identifier: readByteArray
focal_class.modifiers: public static
focal_class.parameters: (File file)
focal_class.return: byte[]
focal_class.signature: byte[] readByteArray(File file)
focal_class.class_method_signature: IO.readByteArray(Reader reader)
focal_class.full_signature: public static byte[] readByteArray(Reader reader)
focal_class.identifier: readByteArray
focal_class.modifiers: public static
focal_class.parameters: (Reader reader)
focal_class.return: byte[]
focal_class.signature: byte[] readByteArray(Reader reader)
focal_class.class_method_signature: IO.readByteArrayAndClose(Reader reader)
focal_class.full_signature: public static byte[] readByteArrayAndClose(Reader reader)
focal_class.identifier: readByteArrayAndClose
focal_class.modifiers: public static
focal_class.parameters: (Reader reader)
focal_class.return: byte[]
focal_class.signature: byte[] readByteArrayAndClose(Reader reader)
focal_class.class_method_signature: IO.readByteArray(InputStream input, long size)
focal_class.full_signature: public static byte[] readByteArray(InputStream input, long size)
focal_class.identifier: readByteArray
focal_class.modifiers: public static
focal_class.parameters: (InputStream input, long size)
focal_class.return: byte[]
focal_class.signature: byte[] readByteArray(InputStream input, long size)
focal_class.class_method_signature: IO.readByteArray(InputStream input, int size)
focal_class.full_signature: public static byte[] readByteArray(InputStream input, int size)
focal_class.identifier: readByteArray
focal_class.modifiers: public static
focal_class.parameters: (InputStream input, int size)
focal_class.return: byte[]
focal_class.signature: byte[] readByteArray(InputStream input, int size)
focal_class.class_method_signature: IO.readString(File file,Charset encoding)
focal_class.full_signature: public static String readString(File file,Charset encoding)
focal_class.identifier: readString
focal_class.modifiers: public static
focal_class.parameters: (File file,Charset encoding)
focal_class.return: String
focal_class.signature: String readString(File file,Charset encoding)
focal_class.class_method_signature: IO.readString(InputStream input, Charset encoding)
focal_class.full_signature: public static String readString(InputStream input, Charset encoding)
focal_class.identifier: readString
focal_class.modifiers: public static
focal_class.parameters: (InputStream input, Charset encoding)
focal_class.return: String
focal_class.signature: String readString(InputStream input, Charset encoding)
focal_class.class_method_signature: IO.readStringAndClose(InputStream is, Charset charset)
focal_class.full_signature: public static String readStringAndClose(InputStream is, Charset charset)
focal_class.identifier: readStringAndClose
focal_class.modifiers: public static
focal_class.parameters: (InputStream is, Charset charset)
focal_class.return: String
focal_class.signature: String readStringAndClose(InputStream is, Charset charset)
focal_class.class_method_signature: IO.readString(Reader input)
focal_class.full_signature: public static String readString(Reader input)
focal_class.identifier: readString
focal_class.modifiers: public static
focal_class.parameters: (Reader input)
focal_class.return: String
focal_class.signature: String readString(Reader input)
focal_class.class_method_signature: IO.readStringAndClose(Reader reader)
focal_class.full_signature: public static String readStringAndClose(Reader reader)
focal_class.identifier: readStringAndClose
focal_class.modifiers: public static
focal_class.parameters: (Reader reader)
focal_class.return: String
focal_class.signature: String readStringAndClose(Reader reader)
focal_class.class_method_signature: IO.writeString(File file, String string)
focal_class.full_signature: public static void writeString(File file, String string)
focal_class.identifier: writeString
focal_class.modifiers: public static
focal_class.parameters: (File file, String string)
focal_class.return: void
focal_class.signature: void writeString(File file, String string)
focal_class.class_method_signature: IO.writeString(File file,String string, Charset encoding)
focal_class.full_signature: public static void writeString(File file,String string, Charset encoding)
focal_class.identifier: writeString
focal_class.modifiers: public static
focal_class.parameters: (File file,String string, Charset encoding)
focal_class.return: void
focal_class.signature: void writeString(File file,String string, Charset encoding)
focal_class.class_method_signature: IO.writeString(OutputStream out,String string,Charset encoding)
focal_class.full_signature: public static void writeString(OutputStream out,String string,Charset encoding)
focal_class.identifier: writeString
focal_class.modifiers: public static
focal_class.parameters: (OutputStream out,String string,Charset encoding)
focal_class.return: void
focal_class.signature: void writeString(OutputStream out,String string,Charset encoding)
focal_class.class_method_signature: IO.copy(InputStream input, OutputStream output)
focal_class.full_signature: public static long copy(InputStream input, OutputStream output)
focal_class.identifier: copy
focal_class.modifiers: public static
focal_class.parameters: (InputStream input, OutputStream output)
focal_class.return: long
focal_class.signature: long copy(InputStream input, OutputStream output)
focal_class.class_method_signature: IO.copy(InputStream input, OutputStream output, byte[] buffer)
focal_class.full_signature: public static long copy(InputStream input, OutputStream output, byte[] buffer)
focal_class.identifier: copy
focal_class.modifiers: public static
focal_class.parameters: (InputStream input, OutputStream output, byte[] buffer)
focal_class.return: long
focal_class.signature: long copy(InputStream input, OutputStream output, byte[] buffer)
focal_class.class_method_signature: IO.copy(InputStream input, Writer output)
focal_class.full_signature: public static void copy(InputStream input, Writer output)
focal_class.identifier: copy
focal_class.modifiers: public static
focal_class.parameters: (InputStream input, Writer output)
focal_class.return: void
focal_class.signature: void copy(InputStream input, Writer output)
focal_class.class_method_signature: IO.copy(InputStream input, Writer output,@Nullable Charset encoding)
focal_class.full_signature: public static void copy(InputStream input, Writer output,@Nullable Charset encoding)
focal_class.identifier: copy
focal_class.modifiers: public static
focal_class.parameters: (InputStream input, Writer output,@Nullable Charset encoding)
focal_class.return: void
focal_class.signature: void copy(InputStream input, Writer output,@Nullable Charset encoding)
focal_class.class_method_signature: IO.copy(InputStream input, Writer output, String encoding)
focal_class.full_signature: public static void copy(InputStream input, Writer output, String encoding)
focal_class.identifier: copy
focal_class.modifiers: public static
focal_class.parameters: (InputStream input, Writer output, String encoding)
focal_class.return: void
focal_class.signature: void copy(InputStream input, Writer output, String encoding)
focal_class.class_method_signature: IO.copy(Reader input, Writer output)
focal_class.full_signature: public static long copy(Reader input, Writer output)
focal_class.identifier: copy
focal_class.modifiers: public static
focal_class.parameters: (Reader input, Writer output)
focal_class.return: long
focal_class.signature: long copy(Reader input, Writer output)
focal_class.class_method_signature: IO.copy(Reader input, Writer output, char[] buffer)
focal_class.full_signature: public static long copy(Reader input, Writer output, char[] buffer)
focal_class.identifier: copy
focal_class.modifiers: public static
focal_class.parameters: (Reader input, Writer output, char[] buffer)
focal_class.return: long
focal_class.signature: long copy(Reader input, Writer output, char[] buffer)
focal_class.class_method_signature: IO.IO()
focal_class.full_signature: protected  IO()
focal_class.identifier: IO
focal_class.modifiers: protected
focal_class.parameters: ()
focal_class.signature:  IO()
focal_method.body: public static byte[] readByteArray(InputStream input) throws NestedIOException {
  		ByteArrayOutputStream output = new ByteArrayOutputStream();
  		copy(input, output);
  		return output.toByteArray();
  	}
focal_method.class_method_signature: IO.readByteArray(InputStream input)
focal_method.full_signature: public static byte[] readByteArray(InputStream input)
focal_method.identifier: readByteArray
focal_method.invocations: copy toByteArray
focal_method.modifiers: public static
focal_method.parameters: (InputStream input)
focal_method.return: byte[]
focal_method.signature: byte[] readByteArray(InputStream input)