Sha256: 657c23b3a8c9ec728f62803593e1fffe9698962da4ce26bb282e2481ff45e676
Contents?: true
Size: 384 Bytes
Versions: 11
Compression:
Stored size: 384 Bytes
Contents
# Provides the base class for the packet dispatcher. class RubySMB::Dispatcher::Base # @param packet [#length] # @return [Fixnum] NBSS header to go in front of `packet` def nbss(packet) [packet.do_num_bytes].pack('N') end # @abstract def send_packet(packet) raise NotImplementedError end # @abstract def recv_packet raise NotImplementedError end end
Version data entries
11 entries across 11 versions & 1 rubygems