bytearray64reader wip

This commit is contained in:
minjaesong
2021-08-30 23:43:51 +09:00
parent fb140ce2da
commit 909c381572
4 changed files with 156 additions and 2 deletions

View File

@@ -627,4 +627,6 @@ interface Id_UICanvasNullable {
// haskell-inspired array selectors
// head and last use first() and last()
fun <T> Array<T>.tail() = this.sliceArray(1 until this.size)
fun <T> Array<T>.init() = this.sliceArray(0 until this.lastIndex)
fun <T> Array<T>.init() = this.sliceArray(0 until this.lastIndex)
fun <T> List<T>.tail() = this.subList(1, this.size)
fun <T> List<T>.init() = this.subList(0, this.lastIndex)