Temporary code to produce a tar archive in tar v7 format
More...
|
| TarArchiveWriter (Stream s) |
|
void | WriteDir (string dirName) |
| Write a directory entry to the tar archive. We can only handle one path level right now! More...
|
|
void | WriteFile (string filePath, string data) |
| Write a file to the tar archive More...
|
|
void | WriteFile (string filePath, byte[] data) |
| Write a file to the tar archive More...
|
|
void | Close () |
| Finish writing the raw tar archive data to a stream. The stream will be closed on completion. More...
|
|
|
void | WriteEntry (string filePath, byte[] data, char fileType) |
| Write a particular entry More...
|
|
|
BinaryWriter | m_bw |
| Binary writer for the underlying stream More...
|
|
Temporary code to produce a tar archive in tar v7 format
Definition at line 40 of file TarArchiveWriter.cs.
OpenSim.Framework.Serialization.TarArchiveWriter.TarArchiveWriter |
( |
Stream |
s | ) |
|
|
inline |
void OpenSim.Framework.Serialization.TarArchiveWriter.Close |
( |
| ) |
|
|
inline |
Finish writing the raw tar archive data to a stream. The stream will be closed on completion.
- Parameters
-
s | Stream to which to write the data |
- Returns
Definition at line 106 of file TarArchiveWriter.cs.
static byte [] OpenSim.Framework.Serialization.TarArchiveWriter.ConvertDecimalToPaddedOctalBytes |
( |
int |
d, |
|
|
int |
padding |
|
) |
| |
|
inlinestatic |
void OpenSim.Framework.Serialization.TarArchiveWriter.WriteDir |
( |
string |
dirName | ) |
|
|
inline |
Write a directory entry to the tar archive. We can only handle one path level right now!
- Parameters
-
Definition at line 58 of file TarArchiveWriter.cs.
void OpenSim.Framework.Serialization.TarArchiveWriter.WriteEntry |
( |
string |
filePath, |
|
|
byte[] |
data, |
|
|
char |
fileType |
|
) |
| |
|
inlineprotected |
void OpenSim.Framework.Serialization.TarArchiveWriter.WriteFile |
( |
string |
filePath, |
|
|
string |
data |
|
) |
| |
|
inline |
void OpenSim.Framework.Serialization.TarArchiveWriter.WriteFile |
( |
string |
filePath, |
|
|
byte[] |
data |
|
) |
| |
|
inline |
BinaryWriter OpenSim.Framework.Serialization.TarArchiveWriter.m_bw |
|
protected |
The documentation for this class was generated from the following file: