Available on python
new(source:String, encoding:String, ?errors:Dynamic)
new()
new(it:Array<Int>)
new(it:NativeIterable<Int>)
new(size:Int)
read onlylength:Int
__setitem__(i:Int, v:Int):Void
append(x:Int):Void
@:value({ errors : "strict", encoding : "utf-8" })decode(encoding:String = "utf-8", errors:String = "strict"):String
extend(t:Bytearray):Void
inlineget(i:Int):Int
inlineset(i:Int, v:Int):Void