Class PackUtils

java.lang.Object
org.jruby.util.PackUtils

public class PackUtils extends Object
  • Constructor Details

    • PackUtils

      public PackUtils()
  • Method Details

    • qpencode

      public static ByteList qpencode(ByteList io2Append, ByteList i2Encode, int iLength)
      encodes a String with the Quoted printable, MIME encoding (see RFC2045). appends the result of the encoding in a StringBuffer
      Parameters:
      io2Append - The StringBuffer which should receive the result
      i2Encode - The String to encode
      iLength - The max number of characters to encode
      Returns:
      the io2Append buffer