code: @Override
      public byte[] readBuffer(final ChannelBuffer buffer) {
          int len = getLength();
          byte[] matched = new byte[len];
          buffer.readBytes(matched);
          return matched;
      }
docs: Read the data into an array of bytes