lib/mongo/socket.rb
# Writes data to the socket instance.
#
# @param [ Array<Object> ] args The data to be written.
#
# @return [ Integer ] The length of bytes written to the socket.
#
# @since 2.0.0
Writes data to the socket instance.
Writes data to the socket instance .
def write(*args)
      map_exceptions do
        do_write(*args)
      end
    end
def write ( * args ) map_exceptions do do_write ( * args ) end end
Writes data to the socket instance.
Writes data to the socket instance .
The length of bytes written to the socket.
The length of bytes written to the socket .
 Integer 
args
args The data to be written.
args The data to be written .
since
None