Unit RALStream

Description

Class with all the functions related to Stream on RAL

Uses

Overview

Classes, Interfaces, Objects and Records

Name Description
Class TRALBinaryWriter  
Class TRALStringStream  

Functions and Procedures

procedure SaveStream(AStream: TStream; const AFileName: StringRAL);
function BytesToStream(ABytes: TBytes): TStream;
function StreamToBytes(AStream: TStream): TBytes;
function StreamToString(AStream: TStream): StringRAL;
function StreamToByteString(AStream: TStream): StringRAL;
function StringToStreamUTF8(const AStr: StringRAL): TStream;
function StringToStream(const AStr: StringRAL): TStream;

Description

Functions and Procedures

procedure SaveStream(AStream: TStream; const AFileName: StringRAL);

Saves the stream into a file given the AFileName

function BytesToStream(ABytes: TBytes): TStream;

Creates a TStream and write ABytes on it

function StreamToBytes(AStream: TStream): TBytes;

Converts a given AStream to TBytes

function StreamToString(AStream: TStream): StringRAL;

Converts a given AStream to an UTF8String

function StreamToByteString(AStream: TStream): StringRAL;

Converts a given AStream to a byte string

function StringToStreamUTF8(const AStr: StringRAL): TStream;

Creates a TStream and writes the given AStr into it

function StringToStream(const AStr: StringRAL): TStream;
 


GitHub Repository
Generated by PasDoc 0.16.0.