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

TypeName
stringcontentPathThe 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

TypeName
stringcontentPathThe 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

TypeName
stringcontentPathThe path to the content.
StreamdataThe stream from which the content is written