introduce built-in buffer type

Signed-off-by: Chun-Yeow Yeoh <yeohchunyeow@gmail.com>