21 #ifndef FXPARSEBUFFER_H 22 #define FXPARSEBUFFER_H 49 FXbool need(FXival count);
50 FXbool emit(FXchar ch,FXint count);
51 FXbool emit(
const FXchar* str,FXint count);
68 FXParseBuffer(FXchar* buffer,FXuval sz=4096,Direction d=Load);
71 FXbool open(FXchar* buffer=
nullptr,FXuval sz=4096,Direction d=Load);
77 FXuval
size()
const {
return endptr-begptr; }
80 virtual FXival fill(FXival count);
83 virtual FXival flush(FXival count);
Direction direction() const
Return current direction.
Definition: FXParseBuffer.h:74
Direction
Definition: FXParseBuffer.h:36
Definition: FX4Splitter.h:28
FXParseBuffer manages pointers to a buffer for various file format parsers.
Definition: FXParseBuffer.h:34
FXuval size() const
Return current buffer size.
Definition: FXParseBuffer.h:77