Changeset 473 for trunk/Include/Classes/System/IO/StreamWriter.ab
- Timestamp:
- Mar 12, 2008, 9:54:46 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Include/Classes/System/IO/StreamWriter.ab
r470 r473 1 /* 2 @file Include/Classes/System/IO/StreamWriter.ab 3 @brief StreamWriterの実装。 4 */ 5 1 6 Namespace System 2 7 Namespace IO 3 4 8 9 /* 10 @biref ストリームへの書き込みを行うTextWriterの派生。 11 @date 2008/03/09 12 @auther Egtra 13 */ 5 14 Class StreamWriter 6 15 Inherits TextWriter 7 16 Public 8 17 /* 9 @date 2008/0 2/2518 @date 2008/03/09 10 19 @auther Egtra 11 20 */ … … 15 24 16 25 /* 17 @date 2008/0 2/2526 @date 2008/03/09 18 27 @auther Egtra 19 28 */ 20 29 Sub StreamWriter(stream As Stream) 21 30 init(stream) 31 End Sub 32 33 Override Sub Flush() 34 Dim len = buf.Length 35 If len > 0 Then 36 s.Write(StrPtr(buf) As *Byte, 0, len) 37 buf.Length = 0 38 End If 22 39 End Sub 23 40 … … 104 121 End Class 105 122 106 107 123 End Namespace 108 124 End Namespace
Note:
See TracChangeset
for help on using the changeset viewer.