stream tag

23 questions


2 answers
124 views
0
Understanding How FIFO Exclusive Access to a Single Stream

I am currently creating a music playback application on C#.I'm looking for a Stream (or equivalent) that meets the following requirements, but I can't find it.·You can write a byte array at the end of...

2 years ago

1 answers
107 views
0
I want to temporarily save the stream (ByteIO data) obtained from PiCamera.

*You may not understand the ByteIO completely.Please understand.As a flow, P Take a picture with PiCamera and save it to the variable stream① Save stream to another variable stream_save② Process strea...


2 answers
109 views
0
I want to combine the lists in stream.

[[a, a, a], [b, b, b], [c, c]][a, a, a, b, b, b, c, c, c]I'd like to do this, but is there any way I can do it on stream at once?// This is what it looks like when you loop normally.List innerA=Arrays...

2 years ago

1 answers
144 views
0
How do I empty the stringstream variable?

I tried it like the source code below, but it didn't work ㅜㅜWhat should I do? std::stringstream m; m.empty(); m.clear();

2 years ago

1 answers
108 views
0
What is the easy way to write to OutputStream from Java to InputStream?

Is there an easy way to write OutputStream with InputStream? It's not hard to write to the byte buffer code, but I think I'm missing an easier way...If InputStream has in and OutputStream has out byte...

2 years ago

1 answers
108 views
0
What is the fastest way to find out the existence of a file in C/C++11/C?

Is there a standard for C++11/C++/C to find out if a file exists or not?I want to check if the file exists before I open it.What should I do to make an annotation part from the code below?inline bool ...

2 years ago

1 answers
117 views
0
How do I put a String in the Stream in Java?

I want to convert the String value into InputStreamReader, what should I do?

2 years ago

1 answers
94 views
0
Java, the write fileoutputstream println () and () as a result of different question.

Hello, I'm a student studying Java from the beginning.I'm just copying each and every one of them while reading a book, and I'm asking you a question because I have a question while studying Stream.im...

2 years ago

1 answers
85 views
0
End and content of string received via fgets

The fgets() function stores the results in the string and adds a null character (\0) to the end of the string.That's what IBM explains.I'm going to compare the string I received through the fgets() fu...

2 years ago

1 answers
161 views
0
std::endl, which one should I use, '\n'?

If you look at the C++ book,std::cout << Test line << std::endl;You shared a roomThe code that other people madestd::cout << Test line\n;There are more things that I wrote togetherWh...

2 years ago
- 1 - »

© 2024 OneMinuteCode. All rights reserved.