Move cycleway=segregated and cycleway=shared to highway=cycleway, rather than road...
[potlatch2.git] / hxasm / StringBuf.as
1 package  hxasm{
2         public class StringBuf {
3                 public function StringBuf() : void {
4                         this.b = "";
5                 }
6                 public function add(x : * = null) : void {
7                         this.b += x;
8                 }
9                 public function addSub(s : String,pos : int,len : * = null) : void {
10                         if(len == null) this.b += s.substr(pos);
11                         else this.b += s.substr(pos,len);
12                 }
13                 public function addChar(c : int) : void {
14                         this.b += String["fromCharCode"](c);
15                 }
16                 public function toString() : String {
17                         return this.b;
18                 }
19                 protected var b : *;
20         }
21 }