mirror of
https://github.com/Kindelia/Kind2.git
synced 2024-10-26 16:20:40 +03:00
7 lines
288 B
Plaintext
7 lines
288 B
Plaintext
// Buffer8 is implemented with a pure Array, which is a perfect binary tree. In
|
|
// some targets, it is optimized to use native mutable buffer instead. It can
|
|
// hold up to depth**2 elements. It does NOT store its element count.
|
|
type Buffer8 {
|
|
new(depth: Nat, array: Array<U8, depth>)
|
|
}
|