IBinaryDataStorage
Namespace: TagBites.IO.Storages
Assembly: TagBites.IO.dll
Provides read, write and delete functionality for binary data storage.
public abstract interface IBinaryDataStorage
Methods
Delete(string)
Deletes binary data related to the specific content path.
public void Delete(string contentPath)
Result Type: void
Parameters
Type | Name | |
---|---|---|
string | contentPath | The path to the content. |
Read(string)
Reads a binary data related to the specific content path.
public Stream Read(string contentPath)
Result Type: Stream
Parameters
Type | Name | |
---|---|---|
string | contentPath | The path to the content. |
Write(string, Stream)
Writes a binary data related to the specific content path.
public string Write(string contentPath, Stream data)
Result Type: string
Parameters
Type | Name | |
---|---|---|
string | contentPath | The path to the content. |
Stream | data | The stream from which the content is written |