Implementation of BoundaryBufferedInputStream and som String Stream bugfixes
This commit is contained in:
parent
dc332f74fa
commit
8139c93d1e
3 changed files with 104 additions and 35 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue