GDBInternalPipeStream.st
changeset 28 28f11426c435
parent 27 e7e01078d9c4
child 31 1d8d532f27fd
child 32 d9c96b33afd6
equal deleted inserted replaced
27:e7e01078d9c4 28:28f11426c435
   101     ^ self basicNew initializeWithBufferSize: bufferSize
   101     ^ self basicNew initializeWithBufferSize: bufferSize
   102 
   102 
   103     "Created: / 07-06-2014 / 00:48:48 / Jan Vrany <jan.vrany@fit.cvut.cz>"
   103     "Created: / 07-06-2014 / 00:48:48 / Jan Vrany <jan.vrany@fit.cvut.cz>"
   104 ! !
   104 ! !
   105 
   105 
   106 
       
   107 !GDBInternalPipeStream methodsFor:'accessing'!
   106 !GDBInternalPipeStream methodsFor:'accessing'!
   108 
   107 
   109 atEnd
   108 atEnd
   110     ^ closed and:[ last == 0 ]
   109     ^ closed and:[ last == 0 ]
   111 
   110 
   114 
   113 
   115 close
   114 close
   116     closed := true.
   115     closed := true.
   117 
   116 
   118     "Modified: / 07-06-2014 / 01:02:33 / Jan Vrany <jan.vrany@fit.cvut.cz>"
   117     "Modified: / 07-06-2014 / 01:02:33 / Jan Vrany <jan.vrany@fit.cvut.cz>"
       
   118 !
       
   119 
       
   120 readStream
       
   121     ^ self
       
   122 
       
   123     "Created: / 03-07-2014 / 20:57:01 / Jan Vrany <jan.vrany@fit.cvut.cz>"
   119 !
   124 !
   120 
   125 
   121 size
   126 size
   122     last == 0 ifTrue:[ ^ 0 ].
   127     last == 0 ifTrue:[ ^ 0 ].
   123     last >= first ifTrue:[ 
   128     last >= first ifTrue:[