Class: VarString
- Inherits:
-
BinData::Primitive
- Object
- BinData::Primitive
- VarString
- Defined in:
- lib/logstash/codecs/netflow/util.rb
Instance Method Summary collapse
Instance Method Details
#get ⇒ Object
75 76 77 |
# File 'lib/logstash/codecs/netflow/util.rb', line 75 def get self.data end |
#set(val) ⇒ Object
71 72 73 |
# File 'lib/logstash/codecs/netflow/util.rb', line 71 def set(val) self.data = val end |
#snapshot ⇒ Object
79 80 81 |
# File 'lib/logstash/codecs/netflow/util.rb', line 79 def snapshot super.encode("ASCII-8BIT", "UTF-8", invalid: :replace, undef: :replace) end |