Buffers API implementation