~ubuntu-branches/ubuntu/natty/haxe/natty

« back to all changes in this revision

Viewing changes to haxe/std/haxe/io/BytesBuffer.hx

  • Committer: Bazaar Package Importer
  • Author(s): Jens Peter Secher
  • Date: 2009-05-25 22:05:05 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20090525220505-zm5gvtdqfbf621ye
Tags: 1:2.3-1
* New upstream version.
* Remove patch ocaml-3.11-compile.diff because it is included upstream.
* Bumped debhelper version to 7.
* Updated the haxe manpage.

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
        var b : flash.utils.ByteArray;
33
33
        #elseif php
34
34
        var b : String;
 
35
        #elseif cpp
 
36
        var b : BytesData;
35
37
        #else
36
38
        var b : Array<Int>;
37
39
        #end
43
45
                b = new flash.utils.ByteArray();
44
46
                #elseif php
45
47
                b = "";
 
48
                #elseif cpp
 
49
                b = new BytesData();
46
50
                #else
47
51
                b = new Array();
48
52
                #end
55
59
                b.writeByte(byte);
56
60
                #elseif php
57
61
                b += untyped __call__("chr", byte);
 
62
                #elseif cpp
 
63
                b.push(untyped byte);
58
64
                #else
59
65
                b.push(byte);
60
66
                #end