THRIFT-2886 Integrate binary type in standard Thrift cross test
Client: C#
Patch: Jens Geyer
diff --git a/lib/csharp/test/ThriftTest/TestServer.cs b/lib/csharp/test/ThriftTest/TestServer.cs
index d944e72..615ead8 100644
--- a/lib/csharp/test/ThriftTest/TestServer.cs
+++ b/lib/csharp/test/ThriftTest/TestServer.cs
@@ -97,6 +97,13 @@
return thing;
}
+ public byte[] testBinary(byte[] thing)
+ {
+ string hex = BitConverter.ToString(thing).Replace("-", string.Empty);
+ Console.WriteLine("testBinary(" + hex + ")");
+ return thing;
+ }
+
public Xtruct testStruct(Xtruct thing)
{
Console.WriteLine("testStruct({" +