Added es_toul method. Removed null-termination requirement.