PNaCl: create from buffer method