docs: update readme

This commit is contained in:
ᴍᴏᴏɴD4ʀᴋ 2020-07-06 15:20:29 +08:00
parent 0a904b93de
commit a258c3e65a
2 changed files with 13 additions and 1 deletions

View File

@ -13,7 +13,7 @@ hack-browser-data is an open-source tool that could help you export data from br
| Edge [MacOS]<br />(require password) | ✅ | ✅ | ✅ | ✅ |
| 360 Speed Browser [Windows] | ✅ | ✅ | ✅ | ✅ |
| QQ Browser [Windows] | ✅ | ✅ | ✅ | ✅ |
| FireFox [MacOS] | ✅ | ✅ | ✅ | ✅ |
| FireFox [MacOS] | ✅ | ❌ | ❌ | ❌ |
| FireFox [Windows] | ❌ | ❌ | ❌ | ❌ |
| Safari [MacOS] | ❌ | ❌ | ❌ | ❌ |
| Internet Explorer [Windows] | ❌ | ❌ | ❌ | ❌ |

View File

@ -149,3 +149,15 @@ func MakeDir(dirName string) {
err = os.Mkdir(dirName, 0700)
}
}
func paddingZero(s []byte, l int) []byte {
h := l - len(s)
if h <= 0 {
return s
} else {
for i := len(s); i < l; i++ {
s = append(s, 0)
}
return s
}
}