Merge pull request #127 from gianm/clear-via-put-bytes

Clear memory using putByteArray instead of fill.