typedef DString (OutStream) = void* #2092
Answered
by
Sorrow-Scarlet
LukyGuyLucky
asked this question in
Q&A
-
|
Could anybody explain what's Outstream doing here,and what does DString(Outstream) mean? Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Answered by
Sorrow-Scarlet
Dec 16, 2025
Replies: 1 comment 1 reply
-
|
I'm learning c3, too. This might be wrong, but... What is OutStreamOutstream is an interface in //Line 19 - 27
interface OutStream
{
fn void? destroy() @optional;
fn void? close() @optional;
fn void? flush() @optional;
fn usz? write(char[] bytes);
fn void? write_byte(char c);
fn usz? read_to(InStream in) @optional;
}In this page, you may found this:
What DString(Outstream) meanDString is a type, it just implemented OutStream interface. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
LukyGuyLucky
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm learning c3, too. This might be wrong, but...
What is OutStream
Outstream is an interface in
std::io::stream:In this page, you may found this:
What DString(Outstream) mean
DString is a type, it just implemented OutStream interface.