@:value({ canRead : false })new(indexCount:Int, usage:Usage, canRead:Bool = false)
count():Int
lock(?start:Int, ?count:Int):Array<Int>
set():Void
unlock(?count:Int):Void