allocate

open fun allocate(width: Int, height: Int): JavaI420Buffer

Allocates an empty I420Buffer suitable for an image of the given dimensions.