Mark() public method

Sets this buffer's mark at its position.
public Mark ( ) : Buffer
return Buffer
Esempio n. 1
0
 private static void checkInvalidMarkException(Buffer b)
 {
     tryCatch(b, typeof(InvalidMarkException), () =>
     {
         b.Mark();
         compact(b);
         b.Reset();
     });
 }
 private static void checkInvalidMarkException(Buffer b)
 {
     tryCatch(b, typeof(InvalidMarkException), () =>
         {
             b.Mark();
             compact(b);
             b.Reset();
         });
 }