Changeset 702
- Timestamp:
- Apr 6, 2009, 9:14:03 PM (16 years ago)
- Location:
- trunk/ab5.0/ablib/src/Classes/System
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/ablib/src/Classes/System/IO/TextReader.ab
r676 r702 24 24 buf.Length = 0 25 25 pos = 0 26 If Not Underflow() Then 26 Underflow() 27 If buf.Length = 0 Then 27 28 Peek = -1 28 29 Exit Function -
trunk/ab5.0/ablib/src/Classes/System/Text/Encoding.ab
r695 r702 361 361 Class Decoder 362 362 Public 363 Function Decode(dst As Collections.Generic.List<WCHAR>, st As IO.Stream) As Boolean 364 Decode = DecodeImpl(dst, st) 363 /*! 364 @brief 復号する。 365 @param[out] dst 出力先 366 @param[in] s 入力元 367 @return sを最後 (EOF) まで読んだらFalse、まだあればTrue。 368 */ 369 Function Decode(dst As Collections.Generic.List<WCHAR>, s As IO.Stream) As Boolean 370 Decode = DecodeImpl(dst, s) 365 371 End Function 366 372 … … 529 535 If t = -1 Then 530 536 dst.Add(&hfffd As WCHAR) 531 DecodeImpl = False 532 Exit For 537 Exit Function 533 538 End If 534 539 buf[1] = t As CHAR
Note:
See TracChangeset
for help on using the changeset viewer.