Method: Rex::Java::Serialization::Model::LongUtf#encode
- Defined in:
- lib/rex/java/serialization/model/long_utf.rb
#encode ⇒ String
Serializes the Rex::Java::Serialization::Model::LongUtf
37 38 39 40 41 42 |
# File 'lib/rex/java/serialization/model/long_utf.rb', line 37 def encode encoded = [length].pack('Q>') encoded << contents encoded end |