Platforms to show: All Mac Windows Linux Cross-Platform
Back to EdsStreamMBS class.
EdsStreamMBS.CreateFileStream(path as folderitem, CreateDisposition as Integer, DesiredAccess as Integer) as EdsStreamMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Canon EOS Digital | MBS Cameras Plugin | 12.1 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop only |
If a new file is designated before executing this API, the file is actually created following the timing of writing by means of EdsWrite or the like with respect to an open stream.
path: Designate the file name of a new file or a file to open.
CreateDisposition: Designate how the file is handled (that is, its disposition) if it exists or does not exist. Designate a value defined in kEdsFileCreateDisposition*.
DesiredAccess: Pass kEdsAccess_Read, kEdsAccess_Write or kEdsAccess_ReadWrite.
Lasterror is set.
See also:
EdsStreamMBS.CreateFileStream(path as string, CreateDisposition as Integer, DesiredAccess as Integer) as EdsStreamMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Canon EOS Digital | MBS Cameras Plugin | 12.1 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop only |
If a new file is designated before executing this API, the file is actually created following the timing of writing by means of EdsWrite or the like with respect to an open stream.
path: Designate the file name of a new file or a file to open.
CreateDisposition: Designate how the file is handled (that is, its disposition) if it exists or does not exist. Designate a value defined in kEdsFileCreateDisposition*.
DesiredAccess: Pass kEdsAccess_Read, kEdsAccess_Write or kEdsAccess_ReadWrite.
Lasterror is set.
See also:
EdsStreamMBS.CreateMemoryStream(size as UInt32) as EdsStreamMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Canon EOS Digital | MBS Cameras Plugin | 12.1 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop only |
In the case of writing in excess of the allocated buffer size, the memory is automatically extended.
Lasterror is set.
EdsStreamMBS.CreateMemoryStreamFromMemoryblock(Memory as Memoryblock, size as Integer = -1, offset as Integer = 0) as EdsStreamMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Canon EOS Digital | MBS Cameras Plugin | 12.1 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop only |
Unlike the buffer size of streams created by means of CreateMemoryStream, the buffer size you prepare for streams created this way does not expand.
Lasterror is set.
EdsStreamMBS.CreateMemoryStreamFromstring(data as string) as EdsStreamMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Canon EOS Digital | MBS Cameras Plugin | 12.1 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop only |
Unlike the buffer size of streams created by means of CreateMemoryStream, the buffer size you prepare for streams created this way does not expand.
Lasterror is set.
The items on this page are in the following plugins: MBS Cameras Plugin.