PrepareValueBytes imporovements and documentations [documentation campaign]