Searched refs:UnsynchronizedByteArrayInputStream (Results 1 – 3 of 3) sorted by relevance
19 import static org.apache.commons.io.input.UnsynchronizedByteArrayInputStream.END_OF_STREAM;41 … try (UnsynchronizedByteArrayInputStream is = new UnsynchronizedByteArrayInputStream(empty)) { in testConstructor1()44 try (UnsynchronizedByteArrayInputStream is = new UnsynchronizedByteArrayInputStream(one)) { in testConstructor1()47 try (UnsynchronizedByteArrayInputStream is = new UnsynchronizedByteArrayInputStream(some)) { in testConstructor1()59 UnsynchronizedByteArrayInputStream is = new UnsynchronizedByteArrayInputStream(empty, 0); in testConstructor2()61 is = new UnsynchronizedByteArrayInputStream(empty, 1); in testConstructor2()64 is = new UnsynchronizedByteArrayInputStream(one, 0); in testConstructor2()66 is = new UnsynchronizedByteArrayInputStream(one, 1); in testConstructor2()68 is = new UnsynchronizedByteArrayInputStream(one, 2); in testConstructor2()71 is = new UnsynchronizedByteArrayInputStream(some, 0); in testConstructor2()[all …]
34 public class UnsynchronizedByteArrayInputStream extends InputStream { class69 public UnsynchronizedByteArrayInputStream(final byte[] data) { in UnsynchronizedByteArrayInputStream() method in UnsynchronizedByteArrayInputStream84 public UnsynchronizedByteArrayInputStream(final byte[] data, final int offset) { in UnsynchronizedByteArrayInputStream() method in UnsynchronizedByteArrayInputStream105 … public UnsynchronizedByteArrayInputStream(final byte[] data, final int offset, final int length) { in UnsynchronizedByteArrayInputStream() method in UnsynchronizedByteArrayInputStream
24 import org.apache.commons.io.input.UnsynchronizedByteArrayInputStream;122 return toInputStream(UnsynchronizedByteArrayInputStream::new); in toInputStream()