@:value({ size : 1 })new(size:Int = 1)
read onlybuffer:Buffer
dispose():Void
@:value({ index : 0 })get(index:Int = 0):Int
reset():Void