//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#: //ORIGINAL LINE: public static <E extends Exception> void writeTo(ValueWriter<E> writer, long[] values) throws E public static void WriteTo <E>(ValueWriter <E> writer, long[] values) where E : Exception { writer.BeginArray(values.Length, ValueWriter_ArrayType.Long); foreach (long x in values) { writer.WriteInteger(x); } writer.EndArray(); }
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#: //ORIGINAL LINE: public <E extends Exception> void writeTo(ValueWriter<E> writer) throws E public override void WriteTo <E>(ValueWriter <E> writer) where E : Exception { writer.WriteInteger(_value); }