Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

9 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

rifx

Binary parsing module for RIFX files (Big-Endian variant of the Resource Interchange File Format).

The Resource Interchange File Format (RIFF) is a generic file container format for storing data in tagged chunks. It is primarily used to store multimedia such as sound and video, though it may also be used to store any arbitrary data (Read more on Wikipedia)

Quick Start

go get -u github.com/rioam2/rifx
package main

import (
    "os"
    "fmt"
    "github.com/rioam2/rifx"
)

func main() {
    file, err := os.Open("my-rifx-file.wav")
    if err != nil {
        panic(err)
    }
    rootList, err := rifx.FromReader(file)
    if err != nil {
        panic(err)
    }
    rootList.ForEach(func(block *rifx.Block) {
        fmt.Println(block)
    })
}

About

πŸ” Binary parsing module for RIFX files (Big-Endian variant of the Resource Interchange File Format, aka RIFF). Commonly used for media files such as AVI, ANI & WAV

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Contributors

Languages