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 » Decode

NAME

	Decode -- Decode a stream/buffer

SYNOPSIS

	length = Decode(decoder, type)
D0 A0 A1
LONG Decode(APTR decoder, ULONG type);

FUNCTION

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

INPUTS

	decoder - Pointer to a decoder object.
type - One of the following values, that specifies
how to decode the input stream/buffer:
DECODE_COPY - Do nothing to the stream.
DECODE_QP - Decode the stream as quoted-printable
data. See the MIME RFCs for details.
DECODE_B64 - Decode the stream as base64.
DECODE_UU - Decode the stream as uuencoded.
DECODE_ROT - Decode 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:

Andromeda

TRSI
KEF
AOA
RSI

Comments:

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