diff options
Diffstat (limited to '')
-rw-r--r-- | src/membuf.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/membuf.cpp b/src/membuf.cpp index 3c394b0..45ff5bd 100644 --- a/src/membuf.cpp +++ b/src/membuf.cpp | |||
@@ -7,6 +7,12 @@ Bu::MemBuf::MemBuf() : | |||
7 | { | 7 | { |
8 | } | 8 | } |
9 | 9 | ||
10 | Bu::MemBuf::MemBuf( const Bu::FString &str ) : | ||
11 | sBuf( str ), | ||
12 | nPos( 0 ) | ||
13 | { | ||
14 | } | ||
15 | |||
10 | Bu::MemBuf::~MemBuf() | 16 | Bu::MemBuf::~MemBuf() |
11 | { | 17 | { |
12 | } | 18 | } |
@@ -107,3 +113,8 @@ void Bu::MemBuf::setBlocking( bool bBlocking ) | |||
107 | { | 113 | { |
108 | } | 114 | } |
109 | 115 | ||
116 | Bu::FString &Bu::MemBuf::getString() | ||
117 | { | ||
118 | return sBuf; | ||
119 | } | ||
120 | |||