Added FrameUtil.buildBuffer.