each word for binary

This commit is contained in:
Torsten Ruger
2018-03-29 17:38:59 +03:00
parent 7cf253ad9c
commit 00be522419
3 changed files with 21 additions and 0 deletions

View File

@ -48,16 +48,25 @@ module Parfait
def data_length
1
end
def padded_length
2
end
end
class Data8 < DataObject
def data_length
7
end
def padded_length
8
end
end
class Data16 < DataObject
def data_length
15
end
def padded_length
16
end
end
end