W3cubDocs

/Haxe

BytesBuffer

package haxe.io

Available on all platforms

Constructor

new ()

Variables

read only length:Int

The length of the buffer in bytes.

Methods

inline add (src:Bytes):Void

@:has_untyped inline addByte (byte:Int):Void

inline addBytes (src:Bytes, pos:Int, len:Int):Void

inline addDouble (v:Float):Void

inline addFloat (v:Float):Void

addInt32 (v:Int):Void

addInt64 (v:Int64):Void

inline addString (v:String):Void

@:has_untyped getBytes ():Bytes

Returns either a copy or a reference of the current bytes. Once called, the buffer can no longer be used.

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/haxe/io/BytesBuffer.html