init: dec-music 项目初始化

This commit is contained in:
2026-05-23 12:55:48 +08:00
commit 21045d0aad
50 changed files with 3662 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
package decrypt
import "io"
// StreamDecoder decrypts audio stream bytes in place.
type StreamDecoder interface {
Decrypt(buf []byte, offset int)
}
// Decoder decrypts one encrypted media file.
type Decoder interface {
Validate() error
io.Reader
}