W3cubDocs

/Haxe Python

Bytearray

package python

extended by Bytes

@:native("bytearray") Available on python

Constructor

new (source:String, encoding:String, ?errors:Dynamic)

new (it:Array<Int>)

new (it:NativeIterable<Int>)

new (size:Int)

Variables

read only length:Int

Methods

__setitem__ (i:Int, v:Int):Void

@:value({ errors : "strict", encoding : "utf-8" }) decode (encoding:String = "utf-8", errors:String = "strict"):String

inline get (i:Int):Int

inline get_length ():Int

inline set (i:Int, v:Int):Void

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