io.BytesBuffer

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

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

getBytes ():Bytes

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

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

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部