Method | Description | |
---|---|---|
AllocateTag ( ) : |
Allocates a new tag at the end of the tag list without updating the file. The tag's group will be null until it is assigned data. You can give the tag data by using one of the overwrite functions.
|
|
AllocateTag ( TagGroup type ) : |
Allocates a new tag at the end of the tag list without updating the file. You can give the tag data by using one of the overwrite functions.
|
|
DuplicateTag ( Stream stream, |
Duplicates a tag.
|
|
ExtractTag ( Stream stream, |
Reads a tag's data from the file.
|
|
ExtractTagRaw ( Stream stream, |
Reads a tag's raw data from the file, including its header.
|
|
SetTagData ( Stream stream, |
Overwrites a tag's data.
|
|
SetTagDataRaw ( Stream stream, |
Overwrites a tag's raw data, including its header.
|
|
TagCache ( Stream stream ) : System |
Opens a tags.dat file from a stream.
|
|
UpdateTagOffsets ( |
Updates the tag offset table in the file.
|
Method | Description | |
---|---|---|
BuildTagDescription ( Stream stream, |
Builds a description for a tag's data without extracting anything.
|
|
FixTagOffsets ( long startOffset, long sizeDelta, |
Fixes tag offsets after a resize operation.
|
|
GetNewTagOffset ( int index ) : long |
Gets the offset that a new tag should be inserted at so that the tags are stored in order by index.
|
|
GetTagDataEndOffset ( ) : long |
Gets the tag data end offset.
|
|
Load ( |
Reads the tags.dat file.
|
|
ResizeBlock ( Stream stream, |
Resizes a block of data in the file.
|
|
UpdateFileHeader ( |
Updates the file header.
|
public AllocateTag ( ) : |
||
return |
public AllocateTag ( TagGroup type ) : |
||
type | TagGroup | The tag's type information. |
return |
public DuplicateTag ( Stream stream, |
||
stream | Stream | The stream to write to. |
tag | The tag to duplicate. | |
return |
public ExtractTag ( Stream stream, |
||
stream | Stream | The stream to read from. |
tag | The tag to read. | |
return | TagData |
public ExtractTagRaw ( Stream stream, |
||
stream | Stream | The stream to read from. |
tag | The tag to read. | |
return | byte[] |
public SetTagData ( Stream stream, |
||
stream | Stream | The stream to write to. |
tag | The tag to overwrite. | |
data | TagData | The data to store. |
return | void |
public SetTagDataRaw ( Stream stream, |
||
stream | Stream | The stream to write to. |
tag | The tag to overwrite. | |
data | byte | The data to overwrite the tag with. |
return | void |
public TagCache ( Stream stream ) : System | ||
stream | Stream | The stream to open. |
return | System |
public UpdateTagOffsets ( |
||
writer | The stream to write to. | |
return | void |