dvpl

package
v1.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 10, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompressDVPL

func CompressDVPL(buffer []byte) ([]byte, error)

CompressDVPL compresses a buffer and returns the processed DVPL file buffer.

func DecompressDVPL

func DecompressDVPL(buffer []byte) ([]byte, error)

DecompressDVPL decompresses a DVPL buffer and returns the uncompressed file buffer.

Types

type DVPLFooter

type DVPLFooter struct {
	OriginalSize   uint32 // Original size of the data
	CompressedSize uint32 // Compressed size of the data
	CRC32          uint32 // CRC32 checksum of the data
	Type           uint32 // Type of compression used (0 - None, 2 - LZ4)
}

DVPLFooter represents the footer structure of a DVPL file

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL