Fix for issue #66

Fix for issue #66

Changelog:
 - Changed encodeXXAtEnd to encodeXXTo, as it's what's actually done.
 - Moved all accesses to UnsafeMemory.Copy to binary.Util.
 - Removed the decoding methods from ByteArrayBuffer as they are never used.
 - Uniformized the code to prepare for the removal of EncodedOutput.