nuget server logo nuget api documents
↑

API Docs / Microsoft.VisualBasic.DataStorage.HDSPack / Extensions

Extensions

Full name Microsoft.VisualBasic.DataStorage.HDSPack.Extensions Assembly Microsoft.VisualBasic.DataStorage.HDSPack Members 2

01 Syntax

Microsoft.VisualBasic.DataStorage.HDSPack.Extensions

02 Methods

NameOverloadsSummary
WriteText 1 unsafe write text data, you should check the fileName is exists or not before call this write data function.
ReadBinary 1 Get in-memory stream buffer data from the archive

03 Members

method WriteText #
WriteText(StreamPack, String, String, Encodings, Boolean)

unsafe write text data, you should check the fileName is exists or not before call this write data function.

Parameters
NameTypeDescription
packStreamPack

-

textString

-

fileNameString

-

encodingEncodings

-

method ReadBinary #
ReadBinary(StreamPack, String)

Get in-memory stream buffer data from the archive

Parameters
NameTypeDescription
packStreamPack

-

filenameString

-

Returns

this function will returns nothing if the given resource which is assoctaed with filename is not found inside the package file.