MCPcopy Create free account
hub / github.com/FunAudioLLM/FunMusic / __init__

Method __init__

inspiremusic/utils/binary.py:64–68  ·  view source on GitHub ↗
(self, bits: int, fo: tp.IO[bytes])

Source from the content-addressed store, hash-verified

62 """
63
64 def __init__(self, bits: int, fo: tp.IO[bytes]):
65 self._current_value = 0
66 self._current_bits = 0
67 self.bits = bits
68 self.fo = fo
69
70 def push(self, value: int):
71 """Push a new value to the stream. This will immediately

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected