Overview
Features
Download
Documentation
Community
Add-Ons & Services

Get number of bytes read from MemoryInputStream

A general discussion forum.

Get number of bytes read from MemoryInputStream

Postby madalff » 23 May 2013, 11:02

How can I get number of bytes read from MemoryInputStream?

There is a method charsWritten of MemoryOutputStream, but there is no such method in MemoryInputStream.
madalff
 
Posts: 1
Joined: 23 May 2013, 10:57

Re: Get number of bytes read from MemoryInputStream

Postby alex » 02 Jun 2013, 15:16

Wrap it with CountingInputStream.
alex
 
Posts: 1044
Joined: 11 Jul 2006, 16:27
Location: United_States


Return to General Discussion

Who is online

Users browsing this forum: Baidu [Spider] and 1 guest