aboutsummaryrefslogtreecommitdiffstats
path: root/util/stream/output.pxd
blob: 2fccc26d9b8b5c79da7e65273cad6b45d42ba793 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
from util.generic.string cimport TStringBuf


cdef extern from "<util/stream/output.h>" nogil:
    cdef cppclass IOutputStream:
        IOutputStream()
        void Flush() except+
        void Finish() except+

        void WriteChar "Write"(char) except+
        void WriteBuf "Write"(const TStringBuf) except+
        void Write(const void*, size_t) except+