Implementation of BoundaryBufferedInputStream and som String Stream bugfixes

This commit is contained in:
Ziver Koc 2013-01-30 15:44:29 +00:00
parent dc332f74fa
commit 8139c93d1e
3 changed files with 104 additions and 35 deletions

View file

@ -85,6 +85,7 @@ public class StringInputStream extends InputStream{
buffer.getChars(0, len, ctmp, 0);
byte[] btmp = new String( ctmp ).getBytes();
System.arraycopy(btmp, 0, b, off, len);
buffer.delete(0, len);
return len;
}