Merge branch 'develop' of ssh://barant.com/git/CoreUtils into develop
This commit is contained in:
commit
96f5c02435
@ -278,6 +278,13 @@ namespace coreutils {
|
|||||||
write(ch);
|
write(ch);
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
MString &MString::read(int fd, int count) {
|
||||||
|
char ch;
|
||||||
|
while(count-- && ::read(fd, &ch, 1))
|
||||||
|
write(ch);
|
||||||
|
return *this;
|
||||||
|
}
|
||||||
|
|
||||||
int MString::offset() {
|
int MString::offset() {
|
||||||
return cursor - data;
|
return cursor - data;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user