tape: Remove GBEU

This commit is contained in:
2025-06-21 19:27:31 -04:00
parent 7b8240cec6
commit 65e8d51590
3 changed files with 0 additions and 48 deletions

View File

@@ -1,15 +1,5 @@
package tape
// GBEUSize returns the size (in octets) of a GBEU integer.
func GBEUSize(value uint64) int {
length := 0
for {
value >>= 7
length ++
if value == 0 { return length }
}
}
// IntBytes returns the number of bytes required to hold a given unsigned
// integer.
func IntBytes(value uint64) int {