From 96fc9cb1110636d98bf36cf02c33daf9c7b3d3dd Mon Sep 17 00:00:00 2001 From: Unbewohnte Date: Fri, 23 Jul 2021 10:33:55 +0300 Subject: [PATCH] =?UTF-8?q?=E2=9A=AA=20Fixed=20a=20bug=20in=20writing=20en?= =?UTF-8?q?hanced=20tag,=20added=20creating=20functions=20to=20v2=20?= =?UTF-8?q?=E2=9A=AA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- testData/testwritev1.mp3 | Bin 844 -> 279 bytes v1/read.go | 15 +------ v1/read_test.go | 1 + v1/tag.go | 8 ++++ v1/write.go | 13 +++++- v1/write_test.go | 1 - v2/frame.go | 90 ++++++++++++++++++++++++++++++++------- v2/frame_test.go | 43 +++++++++++++------ v2/header.go | 29 +++++++++++++ v2/read.go | 4 +- v2/v2tag.go | 16 ++++++- v2/v2tag_test.go | 34 +++++++++++++++ v2/write.go | 12 ++++-- 13 files changed, 215 insertions(+), 51 deletions(-) create mode 100644 v2/v2tag_test.go diff --git a/testData/testwritev1.mp3 b/testData/testwritev1.mp3 index 477ef56042669dbb8d94db531746a2c4dca9dafb..2831d265bd7b8d0cd71f64a760c70e462e120ba0 100644 GIT binary patch delta 138 zcmXAdu?+%23IkkSGY0ZmZ>)$k7^?W{EK#jATP z@8|0{9QqRn1A}v@)JYHyGEuIiWe1+u6ke1)qo2^?S;O;QvxnaPE&TUk#fb=XWRps^ Wf*3dqGu!p1@z_ScNJ{DX>Ea8u)-1vR literal 844 zcmXTU&rMZGNi0cJ$Ve?p