(int size)
| 110 | /// Special scratch-allocation API that guarantees a zero-initialized byte array while retaining |
| 111 | /// the same method-local constraints as `allocaByte(int)`. |
| 112 | public byte[] allocaByteZeroed(int size) { |
| 113 | byte[] out = allocaByte(size); |
| 114 | fillByte(out, (byte) 0); |
| 115 | return out; |
| 116 | } |
| 117 | |
| 118 | /// Special scratch-allocation API that guarantees a zero-initialized int array while retaining |
| 119 | /// the same method-local constraints as `allocaInt(int)`. |