System.JSON.TJSONBool.EstimatedByteSize

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

function EstimatedByteSize: Integer; override;

C++

virtual int __fastcall EstimatedByteSize();

プロパティ

種類 可視性 ソース ユニット
function public
System.JSON.pas
System.JSON.hpp
System.JSON TJSONBool


説明

現在の JSON オブジェクトの推定バイト サイズを返します。

System.JSON.TJSONBool.EstimatedByteSize は System.JSON.TJSONAncestor.EstimatedByteSize を継承しています。以下の内容はすべて System.JSON.TJSONAncestor.EstimatedByteSize を参照しています。

現在の JSON オブジェクトの推定バイト サイズを返します。

現在の JSON オブジェクトの推定バイト サイズを返します。この情報は、ToBytes メソッドを使用して JSON オブジェクトをシリアル化する際に、格納先となるバイト コンテナの最小サイズを見積もるために使用されます。

メモ:  一般に、現在の JSON オブジェクトの実際のバイト サイズは、EstimatedByteSize で見積もられたサイズよりも小さくなります。

関連項目