Data update
This commit is contained in:
parent
0df55f9f24
commit
aec8ed51b6
1045 changed files with 18889 additions and 2777 deletions
|
|
@ -1,10 +1,10 @@
|
|||
T BitWriter
|
||||
File out
|
||||
FileWr out
|
||||
accumulator = 0
|
||||
bcount = 0
|
||||
|
||||
F (fname)
|
||||
.out = File(fname, ‘w’)
|
||||
.out = File(fname, WRITE)
|
||||
|
||||
F _writebit(bit)
|
||||
I .bcount == 8
|
||||
|
|
@ -34,11 +34,11 @@ T BitReader
|
|||
read = 0
|
||||
|
||||
F (fname)
|
||||
.input = File(fname, ‘r’)
|
||||
.input = File(fname)
|
||||
|
||||
F _readbit()
|
||||
I .bcount == 0
|
||||
V a = .input.read_bytes(1)
|
||||
V a = .input.read_bytes(at_most' 1)
|
||||
I !a.empty
|
||||
.accumulator = a[0]
|
||||
.bcount = 8
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue