2024-02-24 12:01:31 +01:00
<!DOCTYPE html>
< html lang = "en" >
< head >
< title > cef4delphi: uCEFWriteHandler: Class TCefBytesWriteHandler</ title >
< meta name = "viewport" content = "width=device-width, initial-scale=1" >
2026-03-30 18:44:20 +02:00
< meta name = "generator" content = "PasDoc 1.0.2" >
2024-02-24 12:01:31 +01:00
< meta http-equiv = "content-type" content = "text/html; charset=utf-8" >
2026-03-19 13:17:28 +01:00
< link rel = "StyleSheet" type = "text/css" href = "bootstrap.min.css" >
2024-02-24 12:01:31 +01:00
< link rel = "StyleSheet" type = "text/css" href = "pasdoc.css" >
2026-03-30 18:44:20 +02:00
< style type = "text/css" >
body { margin : 0.5 em ; }
. badge { padding : 0.1 em 0.5 em ; color : white ; }
</ style ></ head >
2024-02-24 12:01:31 +01:00
< body >
< span id = "TCefBytesWriteHandler" ></ span >< h1 class = "cio" > Class TCefBytesWriteHandler</ h1 >
< div class = "sections" >
2026-03-19 13:17:28 +01:00
< div class = "one_section" >< a class = "section" href = "#PasDoc-Description" > Description</ a ></ div >< div class = "one_section" >< a class = "section" href = "#PasDoc-Hierarchy" > Hierarchy</ a ></ div >< div class = "one_section" >< a class = "section" href = "#PasDoc-Fields" > Fields</ a ></ div >< div class = "one_section" >< a class = "section" href = "#PasDoc-Methods" > Methods</ a ></ div ></ div >
2024-02-24 12:01:31 +01:00
< span id = "PasDoc-Description" ></ span >< h2 class = "unit" > Unit</ h2 >
< p class = "unitlink" >
< a href = "uCEFWriteHandler.html" > uCEFWriteHandler</ a ></ p >
< h2 class = "declaration" > Declaration</ h2 >
< p class = "declaration" >
< code > type TCefBytesWriteHandler = class(< a class = "normal" href = "uCEFWriteHandler.TCefWriteHandlerOwn.html" > TCefWriteHandlerOwn</ a > )</ code ></ p >
< h2 class = "description" > Description</ h2 >
< p class = "nodescription" > This item has no description.</ p >< span id = "PasDoc-Hierarchy" ></ span >< h2 class = "hierarchy" > Hierarchy</ h2 >
< ul class = "hierarchy" >< li class = "ancestor" > TInterfacedObject</ li >
< li class = "ancestor" >< a class = "normal" href = "uCEFBaseRefCounted.TCefBaseRefCountedOwn.html" > TCefBaseRefCountedOwn</ a ></ li >
< li class = "ancestor" >< a class = "normal" href = "uCEFWriteHandler.TCefWriteHandlerOwn.html" > TCefWriteHandlerOwn</ a ></ li >
< li class = "thisitem" > TCefBytesWriteHandler</ li ></ ul >< h2 class = "overview" > Overview</ h2 >
< span id = "PasDoc-Fields" ></ span >< h3 class = "summary" > Fields</ h3 >
< table class = "summary wide_list" >
2026-03-19 13:17:28 +01:00
< tr class = "list visibility-protected" >
< td class = "visibility" >< span class = "badge vis-protected" > Protected</ span ></ td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" >< code >< strong >< a href = "uCEFWriteHandler.TCefBytesWriteHandler.html#FCriticalSection" > FCriticalSection</ a ></ strong > : TRTLCriticalSection;</ code ></ td >
</ tr >
2026-03-19 13:17:28 +01:00
< tr class = "list2 visibility-protected" >
< td class = "visibility" >< span class = "badge vis-protected" > Protected</ span ></ td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" >< code >< strong >< a href = "uCEFWriteHandler.TCefBytesWriteHandler.html#FGrow" > FGrow</ a ></ strong > : < a href = "uCEFTypes.html#NativeUInt" > NativeUInt</ a > ;</ code ></ td >
</ tr >
2026-03-19 13:17:28 +01:00
< tr class = "list visibility-protected" >
< td class = "visibility" >< span class = "badge vis-protected" > Protected</ span ></ td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" >< code >< strong >< a href = "uCEFWriteHandler.TCefBytesWriteHandler.html#FBuffer" > FBuffer</ a ></ strong > : Pointer;</ code ></ td >
</ tr >
2026-03-19 13:17:28 +01:00
< tr class = "list2 visibility-protected" >
< td class = "visibility" >< span class = "badge vis-protected" > Protected</ span ></ td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" >< code >< strong >< a href = "uCEFWriteHandler.TCefBytesWriteHandler.html#FBufferSize" > FBufferSize</ a ></ strong > : int64;</ code ></ td >
</ tr >
2026-03-19 13:17:28 +01:00
< tr class = "list visibility-protected" >
< td class = "visibility" >< span class = "badge vis-protected" > Protected</ span ></ td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" >< code >< strong >< a href = "uCEFWriteHandler.TCefBytesWriteHandler.html#FOffset" > FOffset</ a ></ strong > : int64;</ code ></ td >
</ tr >
</ table >
< span id = "PasDoc-Methods" ></ span >< h3 class = "summary" > Methods</ h3 >
< table class = "summary wide_list" >
2026-03-19 13:17:28 +01:00
< tr class = "list visibility-protected" >
< td class = "visibility" >< span class = "badge vis-protected" > Protected</ span ></ td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" >< code > function < strong >< a href = "uCEFWriteHandler.TCefBytesWriteHandler.html#Grow-NativeUInt-" > Grow</ a ></ strong > (size : < a href = "uCEFTypes.html#NativeUInt" > NativeUInt</ a > ) : < a href = "uCEFTypes.html#NativeUInt" > NativeUInt</ a > ;</ code ></ td >
</ tr >
2026-03-19 13:17:28 +01:00
< tr class = "list2 visibility-public" >
< td class = "visibility" >< span class = "badge vis-public" > Public</ span ></ td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" >< code > constructor < strong >< a href = "uCEFWriteHandler.TCefBytesWriteHandler.html#Create-NativeUInt-" > Create</ a ></ strong > (aGrow : < a href = "uCEFTypes.html#NativeUInt" > NativeUInt</ a > ); reintroduce;</ code ></ td >
</ tr >
2026-03-19 13:17:28 +01:00
< tr class = "list visibility-public" >
< td class = "visibility" >< span class = "badge vis-public" > Public</ span ></ td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" >< code > destructor < strong >< a href = "uCEFWriteHandler.TCefBytesWriteHandler.html#Destroy" > Destroy</ a ></ strong > ; override;</ code ></ td >
</ tr >
2026-03-19 13:17:28 +01:00
< tr class = "list2 visibility-public" >
< td class = "visibility" >< span class = "badge vis-public" > Public</ span ></ td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" >< code > function < strong >< a href = "uCEFWriteHandler.TCefBytesWriteHandler.html#Write-Pointer-NativeUInt-NativeUInt-" > Write</ a ></ strong > (const ptr: Pointer; size, n: < a href = "uCEFTypes.html#NativeUInt" > NativeUInt</ a > ): < a href = "uCEFTypes.html#NativeUInt" > NativeUInt</ a > ; override;</ code ></ td >
</ tr >
2026-03-19 13:17:28 +01:00
< tr class = "list visibility-public" >
< td class = "visibility" >< span class = "badge vis-public" > Public</ span ></ td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" >< code > function < strong >< a href = "uCEFWriteHandler.TCefBytesWriteHandler.html#Seek-Int64-Integer-" > Seek</ a ></ strong > (offset: Int64; whence: Integer): Integer; override;</ code ></ td >
</ tr >
2026-03-19 13:17:28 +01:00
< tr class = "list2 visibility-public" >
< td class = "visibility" >< span class = "badge vis-public" > Public</ span ></ td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" >< code > function < strong >< a href = "uCEFWriteHandler.TCefBytesWriteHandler.html#Tell" > Tell</ a ></ strong > : Int64; override;</ code ></ td >
</ tr >
2026-03-19 13:17:28 +01:00
< tr class = "list visibility-public" >
< td class = "visibility" >< span class = "badge vis-public" > Public</ span ></ td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" >< code > function < strong >< a href = "uCEFWriteHandler.TCefBytesWriteHandler.html#Flush" > Flush</ a ></ strong > : Integer; override;</ code ></ td >
</ tr >
2026-03-19 13:17:28 +01:00
< tr class = "list2 visibility-public" >
< td class = "visibility" >< span class = "badge vis-public" > Public</ span ></ td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" >< code > function < strong >< a href = "uCEFWriteHandler.TCefBytesWriteHandler.html#MayBlock" > MayBlock</ a ></ strong > : Boolean; override;</ code ></ td >
</ tr >
2026-03-19 13:17:28 +01:00
< tr class = "list visibility-public" >
< td class = "visibility" >< span class = "badge vis-public" > Public</ span ></ td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" >< code > function < strong >< a href = "uCEFWriteHandler.TCefBytesWriteHandler.html#GetData" > GetData</ a ></ strong > : pointer;</ code ></ td >
</ tr >
2026-03-19 13:17:28 +01:00
< tr class = "list2 visibility-public" >
< td class = "visibility" >< span class = "badge vis-public" > Public</ span ></ td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" >< code > function < strong >< a href = "uCEFWriteHandler.TCefBytesWriteHandler.html#GetDataSize" > GetDataSize</ a ></ strong > : int64;</ code ></ td >
</ tr >
</ table >
< h2 class = "description" > Description</ h2 >
< h3 class = "detail" > Fields</ h3 >
2026-03-19 13:17:28 +01:00
< table class = "detail visibility-protected wide_list" >
< tr class = "list visibility-protected" >
< td class = "visibility" >< span class = "badge vis-protected" > Protected</ span ></ td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" >< span id = "FCriticalSection" ></ span >< code >< strong > FCriticalSection</ strong > : TRTLCriticalSection;</ code ></ td >
</ tr >
< tr >< td colspan = "2" >
< p class = "nodescription" > This item has no description.</ p ></ td ></ tr >
</ table >
2026-03-19 13:17:28 +01:00
< table class = "detail visibility-protected wide_list" >
< tr class = "list visibility-protected" >
< td class = "visibility" >< span class = "badge vis-protected" > Protected</ span ></ td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" >< span id = "FGrow" ></ span >< code >< strong > FGrow</ strong > : < a href = "uCEFTypes.html#NativeUInt" > NativeUInt</ a > ;</ code ></ td >
</ tr >
< tr >< td colspan = "2" >
< p class = "nodescription" > This item has no description.</ p ></ td ></ tr >
</ table >
2026-03-19 13:17:28 +01:00
< table class = "detail visibility-protected wide_list" >
< tr class = "list visibility-protected" >
< td class = "visibility" >< span class = "badge vis-protected" > Protected</ span ></ td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" >< span id = "FBuffer" ></ span >< code >< strong > FBuffer</ strong > : Pointer;</ code ></ td >
</ tr >
< tr >< td colspan = "2" >
< p class = "nodescription" > This item has no description.</ p ></ td ></ tr >
</ table >
2026-03-19 13:17:28 +01:00
< table class = "detail visibility-protected wide_list" >
< tr class = "list visibility-protected" >
< td class = "visibility" >< span class = "badge vis-protected" > Protected</ span ></ td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" >< span id = "FBufferSize" ></ span >< code >< strong > FBufferSize</ strong > : int64;</ code ></ td >
</ tr >
< tr >< td colspan = "2" >
< p class = "nodescription" > This item has no description.</ p ></ td ></ tr >
</ table >
2026-03-19 13:17:28 +01:00
< table class = "detail visibility-protected wide_list" >
< tr class = "list visibility-protected" >
< td class = "visibility" >< span class = "badge vis-protected" > Protected</ span ></ td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" >< span id = "FOffset" ></ span >< code >< strong > FOffset</ strong > : int64;</ code ></ td >
</ tr >
< tr >< td colspan = "2" >
< p class = "nodescription" > This item has no description.</ p ></ td ></ tr >
</ table >
< h3 class = "detail" > Methods</ h3 >
2026-03-19 13:17:28 +01:00
< table class = "detail visibility-protected wide_list" >
< tr class = "list visibility-protected" >
< td class = "visibility" >< span class = "badge vis-protected" > Protected</ span ></ td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" >< span id = "Grow-NativeUInt-" ></ span >< code > function < strong > Grow</ strong > (size : < a href = "uCEFTypes.html#NativeUInt" > NativeUInt</ a > ) : < a href = "uCEFTypes.html#NativeUInt" > NativeUInt</ a > ;</ code ></ td >
</ tr >
< tr >< td colspan = "2" >
< p class = "nodescription" > This item has no description.</ p ></ td ></ tr >
</ table >
2026-03-19 13:17:28 +01:00
< table class = "detail visibility-public wide_list" >
< tr class = "list visibility-public" >
< td class = "visibility" >< span class = "badge vis-public" > Public</ span ></ td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" >< span id = "Create-NativeUInt-" ></ span >< code > constructor < strong > Create</ strong > (aGrow : < a href = "uCEFTypes.html#NativeUInt" > NativeUInt</ a > ); reintroduce;</ code ></ td >
</ tr >
< tr >< td colspan = "2" >
< p class = "nodescription" > This item has no description.</ p ></ td ></ tr >
</ table >
2026-03-19 13:17:28 +01:00
< table class = "detail visibility-public wide_list" >
< tr class = "list visibility-public" >
< td class = "visibility" >< span class = "badge vis-public" > Public</ span ></ td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" >< span id = "Destroy" ></ span >< code > destructor < strong > Destroy</ strong > ; override;</ code ></ td >
</ tr >
< tr >< td colspan = "2" >
< p class = "nodescription" > This item has no description.</ p ></ td ></ tr >
</ table >
2026-03-19 13:17:28 +01:00
< table class = "detail visibility-public wide_list" >
< tr class = "list visibility-public" >
< td class = "visibility" >< span class = "badge vis-public" > Public</ span ></ td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" >< span id = "Write-Pointer-NativeUInt-NativeUInt-" ></ span >< code > function < strong > Write</ strong > (const ptr: Pointer; size, n: < a href = "uCEFTypes.html#NativeUInt" > NativeUInt</ a > ): < a href = "uCEFTypes.html#NativeUInt" > NativeUInt</ a > ; override;</ code ></ td >
</ tr >
< tr >< td colspan = "2" >
< p class = "inheritdescription" > This item has no description. Showing description inherited from < a class = "normal" href = "uCEFInterfaces.ICefWriteHandler.html#Write-Pointer-NativeUInt-NativeUInt-" > ICefWriteHandler.Write</ a > .</ p >< p >
Write raw binary data. </ p >
</ td ></ tr >
</ table >
2026-03-19 13:17:28 +01:00
< table class = "detail visibility-public wide_list" >
< tr class = "list visibility-public" >
< td class = "visibility" >< span class = "badge vis-public" > Public</ span ></ td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" >< span id = "Seek-Int64-Integer-" ></ span >< code > function < strong > Seek</ strong > (offset: Int64; whence: Integer): Integer; override;</ code ></ td >
</ tr >
< tr >< td colspan = "2" >
< p class = "inheritdescription" > This item has no description. Showing description inherited from < a class = "normal" href = "uCEFInterfaces.ICefWriteHandler.html#Seek-Int64-Integer-" > ICefWriteHandler.Seek</ a > .</ p >< p >
Seek to the specified offset position. |whence| may be any one of SEEK_CUR, SEEK_END or SEEK_SET. Return zero on success and non-zero on failure. </ p >
</ td ></ tr >
</ table >
2026-03-19 13:17:28 +01:00
< table class = "detail visibility-public wide_list" >
< tr class = "list visibility-public" >
< td class = "visibility" >< span class = "badge vis-public" > Public</ span ></ td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" >< span id = "Tell" ></ span >< code > function < strong > Tell</ strong > : Int64; override;</ code ></ td >
</ tr >
< tr >< td colspan = "2" >
< p class = "inheritdescription" > This item has no description. Showing description inherited from < a class = "normal" href = "uCEFInterfaces.ICefWriteHandler.html#Tell" > ICefWriteHandler.Tell</ a > .</ p >< p >
Return the current offset position. </ p >
</ td ></ tr >
</ table >
2026-03-19 13:17:28 +01:00
< table class = "detail visibility-public wide_list" >
< tr class = "list visibility-public" >
< td class = "visibility" >< span class = "badge vis-public" > Public</ span ></ td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" >< span id = "Flush" ></ span >< code > function < strong > Flush</ strong > : Integer; override;</ code ></ td >
</ tr >
< tr >< td colspan = "2" >
< p class = "inheritdescription" > This item has no description. Showing description inherited from < a class = "normal" href = "uCEFInterfaces.ICefWriteHandler.html#Flush" > ICefWriteHandler.Flush</ a > .</ p >< p >
Flush the stream. </ p >
</ td ></ tr >
</ table >
2026-03-19 13:17:28 +01:00
< table class = "detail visibility-public wide_list" >
< tr class = "list visibility-public" >
< td class = "visibility" >< span class = "badge vis-public" > Public</ span ></ td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" >< span id = "MayBlock" ></ span >< code > function < strong > MayBlock</ strong > : Boolean; override;</ code ></ td >
</ tr >
< tr >< td colspan = "2" >
< p class = "inheritdescription" > This item has no description. Showing description inherited from < a class = "normal" href = "uCEFInterfaces.ICefWriteHandler.html#MayBlock" > ICefWriteHandler.MayBlock</ a > .</ p >< p >
Return true (1) if this handler performs work like accessing the file system which may block. Used as a hint for determining the thread to access the handler from. </ p >
</ td ></ tr >
</ table >
2026-03-19 13:17:28 +01:00
< table class = "detail visibility-public wide_list" >
< tr class = "list visibility-public" >
< td class = "visibility" >< span class = "badge vis-public" > Public</ span ></ td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" >< span id = "GetData" ></ span >< code > function < strong > GetData</ strong > : pointer;</ code ></ td >
</ tr >
< tr >< td colspan = "2" >
< p class = "nodescription" > This item has no description.</ p ></ td ></ tr >
</ table >
2026-03-19 13:17:28 +01:00
< table class = "detail visibility-public wide_list" >
< tr class = "list visibility-public" >
< td class = "visibility" >< span class = "badge vis-public" > Public</ span ></ td >
2024-02-24 12:01:31 +01:00
< td class = "itemcode" >< span id = "GetDataSize" ></ span >< code > function < strong > GetDataSize</ strong > : int64;</ code ></ td >
</ tr >
< tr >< td colspan = "2" >
< p class = "nodescription" > This item has no description.</ p ></ td ></ tr >
</ table >
2026-03-30 18:44:20 +02:00
< hr >< span class = "appinfo" >< em > Generated by < a href = "https://pasdoc.github.io/" > PasDoc 1.0.2</ a > . </ em >
2024-02-24 12:01:31 +01:00
</ span >
</ body ></ html >