Changeset 666 for trunk/ab5.0
- Timestamp:
- Dec 28, 2008, 5:44:40 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/ablib/src/Classes/System/IO/StreamReader.ab
r665 r666 60 60 Dim wcBuf[4095] As WCHAR 61 61 Dim mbBuf[4095] As SByte 62 Dim mbLen = s.Read(mbBuf As *Byte, 0, Len(buf)) 62 Dim pNext = mbBuf As PSTR 63 Dim mbBufSize = Len(buf) 64 If leadByte <> 0 Then 65 pNext[0] = leadByte 66 leadByte = 0 67 pNext++ 68 mbBufSize-- 69 End If 70 Dim mbLen = s.Read(pNext As *Byte, 0, mbBufSize) 63 71 If mbLen = 0 Then 64 72 Underflow = False 65 73 Exit Function 66 74 End If 67 Dim pNext = mbBuf As PSTR68 75 Do 69 76 Dim q = CharNextExA(cp, pNext, 0)
Note:
See TracChangeset
for help on using the changeset viewer.