PageRenderTime 36ms CodeModel.GetById 27ms RepoModel.GetById 0ms app.codeStats 0ms

/framework/vendor/swift/lib/classes/Swift/Mime/ContentEncoder.php

http://zoop.googlecode.com/
PHP | 41 lines | 8 code | 6 blank | 27 comment | 0 complexity | d8da56babd5c363ae3a59c7c0890a865 MD5 | raw file
Possible License(s): BSD-3-Clause, LGPL-2.1
  1. <?php
  2. /*
  3. * This file is part of SwiftMailer.
  4. * (c) 2004-2009 Chris Corbyn
  5. *
  6. * For the full copyright and license information, please view the LICENSE
  7. * file that was distributed with this source code.
  8. */
  9. //@require 'Swift/Encoder.php';
  10. //@require 'Swift/InputByteStream.php';
  11. //@require 'Swift/OutputByteStream.php';
  12. /**
  13. * Interface for all Transfer Encoding schemes.
  14. * @package Swift
  15. * @subpackage Mime
  16. * @author Chris Corbyn
  17. */
  18. interface Swift_Mime_ContentEncoder extends Swift_Encoder
  19. {
  20. /**
  21. * Encode $in to $out.
  22. * @param Swift_OutputByteStream $os to read from
  23. * @param Swift_InputByteStream $is to write to
  24. * @param int $firstLineOffset
  25. * @param int $maxLineLength - 0 indicates the default length for this encoding
  26. */
  27. public function encodeByteStream(
  28. Swift_OutputByteStream $os, Swift_InputByteStream $is, $firstLineOffset = 0,
  29. $maxLineLength = 0);
  30. /**
  31. * Get the MIME name of this content encoding scheme.
  32. * @return string
  33. */
  34. public function getName();
  35. }