code: @Override
      public boolean writeStream(byte[] b) {
          try {
              dataChannel.write(ByteBuffer.wrap(b));
              return true;
          } catch (IOException e) {
              log.error("", e);
          }
          return false;
      }
docs: {@inheritDoc}