Add missing binarySlice/binaryWrite methods

`binarySlice()` and `binaryWrite()` are referenced from the code but such methods don't exist. Seems that current ascii implementation is actually same that node uses for binary.

I didn't change the ascii behavior but it's not quite the same that node uses(see commented in testcase).