Changeset 497 for trunk/Include/Classes/System/IO/StreamReader.ab
- Timestamp:
- Mar 28, 2008, 5:43:34 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Include/Classes/System/IO/StreamReader.ab
r435 r497 93 93 @auther Egtra 94 94 */ 95 Override Function ReadImpl(buffer As * StrChar, index As Long, count As Long) As Long95 Override Function ReadImpl(buffer As *Char, index As Long, count As Long) As Long 96 96 Dim n = last - cur 97 97 If count <= n Then … … 143 143 文字数が足りなくても、元のストリームまで読みには行かない。 144 144 */ 145 Function ReadFromBuffer(p As * StrChar, index As Long, count As Long) As Long146 memcpy(VarPtr(p[index]), VarPtr(buf[cur]), count * SizeOf ( StrChar))145 Function ReadFromBuffer(p As *Char, index As Long, count As Long) As Long 146 memcpy(VarPtr(p[index]), VarPtr(buf[cur]), count * SizeOf (Char)) 147 147 cur += count 148 148 ReadFromBuffer = count
Note:
See TracChangeset
for help on using the changeset viewer.