nbfx

package
v0.0.0-...-bd1af7c Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2018 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Package nbfx provides implementation of Microsoft [MC-NBFX]: .NET Binary Format: XML Data Structure

More info https://msdn.microsoft.com/en-us/library/cc219210.aspx

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Decoder

type Decoder interface {
	Decode(io.Reader) (string, error)
}

Decoder is the interface for decoding NBFX

func NewDecoder

func NewDecoder() Decoder

NewDecoder creates a new NBFX Decoder

func NewDecoderWithStrings

func NewDecoderWithStrings(dictionaryStrings map[uint32]string) Decoder

NewDecoderWithStrings creates a new NBFX Decoder with a dictionary (like an NBFS dictionary)

type Encoder

type Encoder interface {
	Encode(io.Reader) ([]byte, error)
}

Encoder is the interface for encoding NBFX

func NewEncoder

func NewEncoder() Encoder

NewEncoder creates a new NBFX Encoder

func NewEncoderWithStrings

func NewEncoderWithStrings(dictionaryStrings map[uint32]string) Encoder

NewEncoderWithStrings creates a new NBFX Encoder with a dictionary (like an NBFS dictionary)

Jump to

Keyboard shortcuts

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