Changeset 84:00a333240696 for dwt/dwthelper/InputStream.d
- Timestamp:
- 02/06/08 12:46:23 (1 year ago)
- Files:
-
- dwt/dwthelper/InputStream.d (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
dwt/dwthelper/InputStream.d
r0 r84 19 19 int c = read(); 20 20 if( c == -1 ){ 21 return idx;21 return ( idx == 0 ) ? -1 : idx; 22 22 } 23 23 b[ idx] = cast(byte)( c & 0xFF );
