2013年9月25日星期三

Ask a few questions about the stream .

A maximum number of data streams it, with an upper limit it ?
If full how to do ?
ByteArrayOutputStream bos = .....

byte [] buff = new byte [1024];
while (true)
{
bos.write (buff);
}
------ Solution ----------------------------------- ---------
streaming is no ceiling .
data storage usually has an upper limit , after all, is limited by the storage media.
hard disk data stored in document form , the storage limit , in addition to limited disk media , but also with the file system related .
------ Solution ---------------------------------------- ----
no upper limit , as long as you have memory space . You can write
------ Solution ------------------------------------ infinite --------
flow on the water pipe , and how many can stream
------ For reference only ------------------ ---------------------

Liu Buchu go . Water flows over here waterwheels head off.
------ For reference only -------------------------------------- -

Liu Buchu go . Water flows over here waterwheels head off.   Is not that the flow close it .

没有评论:

发表评论