You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by br...@apache.org on 2009/03/24 00:36:17 UTC
svn commit: r757599 -
/incubator/thrift/trunk/lib/rb/lib/thrift/protocol/binaryprotocol.rb
Author: bryanduxbury
Date: Mon Mar 23 23:36:16 2009
New Revision: 757599
URL: http://svn.apache.org/viewvc?rev=757599&view=rev
Log:
THRIFT-396. rb: BinaryProtocol missing method implementations
Added missing implementations of write_struct_begin and read_struct_begin to BinaryProtocol.
Modified:
incubator/thrift/trunk/lib/rb/lib/thrift/protocol/binaryprotocol.rb
Modified: incubator/thrift/trunk/lib/rb/lib/thrift/protocol/binaryprotocol.rb
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/rb/lib/thrift/protocol/binaryprotocol.rb?rev=757599&r1=757598&r2=757599&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/rb/lib/thrift/protocol/binaryprotocol.rb (original)
+++ incubator/thrift/trunk/lib/rb/lib/thrift/protocol/binaryprotocol.rb Mon Mar 23 23:36:16 2009
@@ -48,6 +48,8 @@
end
end
+ def write_struct_begin(name); nil; end
+
def write_field_begin(name, type, id)
write_byte(type)
write_i16(id)
@@ -126,6 +128,8 @@
end
end
+ def read_struct_begin; nil; end
+
def read_field_begin
type = read_byte
if (type == Types::STOP)