Change behavior of encode_into with offset > len(buf)
#753
+14
−8
encode_into with offset > len(buf)
#753