     end
   end
 
-  @null_result       ?n
-  @list              ?l
-  @set               ?s
-  @single_record     ?r
-  @serialized_result ?a
-
   defp parse_resp_contents(:command, data, schema) do
     parse_resp_to_command(data, schema)
   end

    case GP.parse(rest, [&parse_record_with_rid(&1, schema), &decode_term(&1, :byte)]) do
      # TODO find out why OrientDB shoves a 0 byte at the end of this list, not
      # mentioned in the docs :(
      {[record, 0], rest} ->
        {record, rest}
      :incomplete ->
        :incomplete
    end
  end


      # TODO find out why OrientDB shoves a 0 byte at the end of this binary
      # dump, not mentioned in the docs :(
      {[binary, 0], rest} -> {binary, rest}
      :incomplete         -> :incomplete
    end
  end

