<NME> noop.rb
<BEF> ADDFILE
<MSG> rework decoding.

<DFF> @@ -0,0 +1,14 @@
+require "logstash/codecs/base"
+
+class LogStash::Codecs::Noop < LogStash::Codecs::Base
+  public
+  def decode(data)
+    yield data
+  end # def decode
+
+  public
+  def encode(data)
+    @on_event.call data
+  end # def encode
+
+end # class LogStash::Codecs::Noop

rework decoding.