CFMutableBinaryDataMBS methods

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

Platforms to show: All Mac Windows Linux Cross-Platform

Back to CFMutableBinaryDataMBS class.

CFMutableBinaryDataMBS.AppendCFBinaryDataMBS(m as CFBinaryDataMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreFoundation MBS MacCF Plugin ✅ Yes ❌ No ❌ No ✅ Yes All
Appends the bytes from the given CFBinary object.

This method may fail on low memory, e.g. on Mac OS Classic running a Carbon application with a small application memory partition size.

See also:

CFMutableBinaryDataMBS.AppendCFBinaryDataMBS(m as CFBinaryDataMBS,len as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreFoundation MBS MacCF Plugin ✅ Yes ❌ No ❌ No ✅ Yes All
Appends the bytes from the given CFBinary object.

This method may fail on low memory, e.g. on Mac OS Classic running a Carbon application with a small application memory partition size.

See also:

CFMutableBinaryDataMBS.AppendMem(m as memoryblock)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreFoundation MBS MacCF Plugin ✅ Yes ❌ No ❌ No ✅ Yes All
Appends the bytes from the given memoryblock.

This method may fail on low memory, e.g. on Mac OS Classic running a Carbon application with a small application memory partition size.

See also:

CFMutableBinaryDataMBS.AppendMem(m as memoryblock,len as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreFoundation MBS MacCF Plugin ✅ Yes ❌ No ❌ No ✅ Yes All
Appends the bytes from the given memoryblock.

This method may fail on low memory, e.g. on Mac OS Classic running a Carbon application with a small application memory partition size.

See also:

CFMutableBinaryDataMBS.AppendStr(s as string)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreFoundation MBS MacCF Plugin ✅ Yes ❌ No ❌ No ✅ Yes All
Appends the bytes from the given string.

This method may fail on low memory, e.g. on Mac OS Classic running a Carbon application with a small application memory partition size.

See also:

CFMutableBinaryDataMBS.AppendStr(s as string,len as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreFoundation MBS MacCF Plugin ✅ Yes ❌ No ❌ No ✅ Yes All
Appends the bytes from the given string.

This method may fail on low memory, e.g. on Mac OS Classic running a Carbon application with a small application memory partition size.

See also:

CFMutableBinaryDataMBS.Constructor(capacity as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreFoundation MBS MacCF Plugin 13.4 ✅ Yes ❌ No ❌ No ✅ Yes All
The constructor for creating a new mutable data object.
Example
// creates empty data object
dim c as new CFMutableBinaryDataMBS(10)
MsgBox str(c.Len)+" length"

See also:

CFMutableBinaryDataMBS.Constructor(data as MemoryBlock)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreFoundation MBS MacCF Plugin 13.4 ✅ Yes ❌ No ❌ No ✅ Yes All
Creates a new data object with given content.
Example
dim m as MemoryBlock = "Hello"
dim d as new CFMutableBinaryDataMBS(m)

MsgBox d.Str

See also:

CFMutableBinaryDataMBS.Constructor(data as string)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreFoundation MBS MacCF Plugin 13.4 ✅ Yes ❌ No ❌ No ✅ Yes All
Creates a new data object with given content.
Example
dim m as string = "Hello"
dim d as new CFMutableBinaryDataMBS(m)

MsgBox d.Str

See also:

CFMutableBinaryDataMBS.Delete(pos as Integer,len as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreFoundation MBS MacCF Plugin ✅ Yes ❌ No ❌ No ✅ Yes All
Deletes bytes from a binary data object.

This method may fail on low memory, e.g. on Mac OS Classic running a Carbon application with a small application memory partition size.

CFMutableBinaryDataMBS.IncreaseLength(extralen as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreFoundation MBS MacCF Plugin ✅ Yes ❌ No ❌ No ✅ Yes All
Resizes the binary data by extralen adding additional bytes.

This method may fail on low memory, e.g. on Mac OS Classic running a Carbon application with a small application memory partition size.

CFMutableBinaryDataMBS.ReplaceCFBinaryDataMBS(m as CFBinaryDataMBS,pos as Integer,len as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreFoundation MBS MacCF Plugin ✅ Yes ❌ No ❌ No ✅ Yes All
Replaces len bytes inside the binary data which start at position pos with the bytes from the given binary data.

See also:

CFMutableBinaryDataMBS.ReplaceCFBinaryDataMBS(m as CFBinaryDataMBS,pos as Integer,len as Integer,newlen as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreFoundation MBS MacCF Plugin ✅ Yes ❌ No ❌ No ✅ Yes All
Replaces len bytes inside the binary data which start at position pos with the bytes from the given binary data.

See also:

CFMutableBinaryDataMBS.ReplaceMem(m as memoryblock,pos as Integer,len as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreFoundation MBS MacCF Plugin ✅ Yes ❌ No ❌ No ✅ Yes All
Replaces len bytes inside the binary data which start at position pos with the bytes from the memoryblock.

See also:

CFMutableBinaryDataMBS.ReplaceMem(m as memoryblock,pos as Integer,len as Integer,newlen as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreFoundation MBS MacCF Plugin ✅ Yes ❌ No ❌ No ✅ Yes All
Replaces len bytes inside the binary data which start at position pos with the bytes from the memoryblock.

See also:

CFMutableBinaryDataMBS.ReplaceStr(s as string,pos as Integer,len as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreFoundation MBS MacCF Plugin ✅ Yes ❌ No ❌ No ✅ Yes All
Replaces len bytes inside the binary data which start at position pos with the bytes from the string.

See also:

CFMutableBinaryDataMBS.ReplaceStr(s as string,pos as Integer,len as Integer,newlen as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreFoundation MBS MacCF Plugin ✅ Yes ❌ No ❌ No ✅ Yes All
Replaces len bytes inside the binary data which start at position pos with the bytes from the string.

See also:

CFMutableBinaryDataMBS.SetLength(len as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreFoundation MBS MacCF Plugin 13.4 ✅ Yes ❌ No ❌ No ✅ Yes All
Sets length of the data.

The items on this page are in the following plugins: MBS MacCF Plugin.


💬 Ask a question or report a problem