Fixed serialization case where a float is at the edge of a buffer.