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
89 90 91 |
# File 'lib/logstash/codecs/netflow/util.rb', line 89 def get self.data end |
#set(val) ⇒ Object
85 86 87 |
# File 'lib/logstash/codecs/netflow/util.rb', line 85 def set(val) self.data = val end |
#snapshot ⇒ Object
93 94 95 |
# File 'lib/logstash/codecs/netflow/util.rb', line 93 def snapshot super.encode("ASCII-8BIT", "UTF-8", invalid: :replace, undef: :replace) end |