Always use begin and realSize when working with "unsafe" bytes.

Fixes #182