Internet Direct (Indy)
Home
PreviousUpNext
TIdBuffer.Encoding Property

Default encoding used when writing values to the buffer.

Pascal
property Encoding: TIdEncoding;

Encoding is a TIdEncoding property identifies the default encoding used when writing values stored in the buffer. The default value for Encoding is enANSI, as assigned in the constructor for the buffer instance. 

The value assigned to Encoding is used in an overloaded version of the Write method that accepts an optional encoding value. When the value is omitted (or contains enDefault), the value in the Encoding property is used encode the bytes written to the buffer instance.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.