plankcore

package module
v0.0.0-...-6199ffb Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2021 License: BSD-3-Clause Imports: 7 Imported by: 0

README

PlankCore

The base library used in my filetype

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GZipCompress

func GZipCompress(s []byte) []byte

func GZipDecompress

func GZipDecompress(s []byte) []byte

func PlankEncode

func PlankEncode(data []Data, filenames []string, keybag string, compress bool, verbose bool) []byte

Types

type Data

type Data []byte

type EndSection

type EndSection struct {
	Filenames []string
}

type PlankDecoded_

type PlankDecoded_ struct {
	Data      []Data
	Filenames []string
	Keybag    string
}

func PlankDecode

func PlankDecode(data Data, verbose bool, keybag string) PlankDecoded_

type SectionDefines_

type SectionDefines_ struct {
	DataStartOffset  int64
	DataSections     int64
	DataSectionSizes []int64

	DataCombined      []byte
	FilenamesCombined []byte
	FormedData        []byte
	StartOffsets      []int64
	EndOffsets        []int64

	SectionSizes []int64

	CombinedOffsets []int64

	Header    int64
	One       int64
	Two       int64
	FileNames []string
}
var SectionDefines SectionDefines_

type StaticDefines_

type StaticDefines_ struct {
	AdresserSize     int64
	MetaSections     int64
	StringTerminator []byte
}
var StaticDefines StaticDefines_

Jump to

Keyboard shortcuts

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