a1200   NEWS   APPS   DOCS   ABOUT
a1200
----
a1200
----
Autodocs
 Libraries:
 aml.library
  --rexxhost--
  AddArticlePartA
  AddCustomField
  AddFolderArticle
  CreateAddressEntryA
  CreateArticleA
  CreateArticlePartA
  CreateDecoderA
  CreateFolderA
  CreateServerA
  Decode
  DisposeAddressEntry
  DisposeArticle
  DisposeArticlePart
  DisposeDecoder
  DisposeFolder
  DisposeServer
  Encode
  ExpungeFolder
  FindAddressEntryA
  GetAddressEntryAttrsA
  GetArticleAttrsA
  GetArticlePartDataA
  GetCustomFieldData
  GetDecoderAttrsA
  GetFolderAttrsA
  GetServerArticles
  GetServerAttrsA
  GetServerHeaders
  HuntAddressEntryA
  OpenAddressEntry
  OpenArticle
  OpenFolderA
  ReadFolderSpool
  RemAddressEntry
  RemCustomField
  RemFolder
  RemFolderArticle
  SaveAddressEntry
  SaveFolder
  ScanFolderIndex
  SendArticle
  SetAddressEntryAttrsA
  SetArticleAttrsA
  SetArticlePartDataA
  SetDecoderAttrsA
  SetFolderAttrsA
  SetServerAttrsA
  WriteFolderSpool
Include
GuruMeditation
Docs » Autodocs » aml.library » Encode

NAME

	Encode -- Encode a stream/buffer

SYNOPSIS

	length = Encode(encoder, type)
D0 A0 A1
LONG Encode(APTR encoder, ULONG type);

FUNCTION

	Encodes data from a input stream or buffer to
an output stream or buffer. The corresponding
stream/buffer must be set up when the encoder is
created via CreateDecoderA().

INPUTS

	encoder - Pointer to a encoder object.
type - One of the following values, that specifies
how to encode the input stream/buffer:
ENCODE_COPY - Do nothing to the stream.
ENCODE_QP - Encode the stream as quoted-printable
data. See the MIME RFCs for details.
ENCODE_B64 - Encode the stream as base64.
ENCODE_UU - Encode the stream as uuencoded.
ENCODE_ROT - Encode the stream as ROT-13 style.

RESULT

	length - The resulting length of the output stream or
buffer.

SEE ALSO

CreateDecoderA()

Comments

Name:
E-mail: Use this if you want a message if you get a response, will not be shown.
Comment:
Select correct short for:

Alpha Flight 1970

RBS
AFL
TSL
KEF

Comments:

$VER: d0.se 1.14 Copyright © 2011-2024 Tobias Geijersson support at d0 dot se