src/codec.js
function stringToBuffer (str) {
  str = cleanPath(str)
  const a = stringToStringTuples(str)
  const b = stringTuplesToTuples(a)

  return tuplesToBuffer(b)
}
function stringToBuffer (str) {
  str = cleanPath(str)
  const a = stringToStringTuples(str)
  const b = stringTuplesToTuples(a)

  return tuplesToBuffer(b)
}
function stringToBuffer ( str ) { str = cleanPath ( str ) const a = stringToStringTuples ( str ) const b = stringTuplesToTuples ( a ) return tuplesToBuffer ( b ) }
String -> Buffer
String - > Buffer