JPP: Also renamed tape studio methods to have equal prefix like others
This commit is contained in:
parent
13abc47e5e
commit
61dbed85df
10 changed files with 17 additions and 17 deletions
|
|
@ -51,7 +51,7 @@ public enum LegoGearByteNative {
|
|||
protected interface LegoᐧGearᐧByteᐧNativeᐧχ72ᐧNoise<V extends LegoᐧGearᐧByteᐧNativeᐧχ72<V>> extends LegoᐧBrickᐧTapeᐧGearᐧNoise<V> {
|
||||
|
||||
default List<V> gearsᐧbuildᐧbricksᐧfromᐧbyteᐧstream(InputStream input) throws IOException {
|
||||
int brickTapeLengthBytes = gearᐧnoise().brickᐧtapeᐧlength() * 3 / 8; // todo V extends .... X3
|
||||
int brickTapeLengthBytes = brickᐧtapeᐧgear().brickᐧtapeᐧlength() * 3 / 8; // todo V extends .... X3
|
||||
List<T008ᖟ> octals = new ArrayList<>();
|
||||
byte[] data = new byte[brickTapeLengthBytes];
|
||||
int readDataSize = 0; // per 9 bytes we have 24 octals for one V072Tong number
|
||||
|
|
@ -97,10 +97,10 @@ public enum LegoGearByteNative {
|
|||
// TODO: add error on misalignment
|
||||
List<V> result = new ArrayList<>();
|
||||
JediTempleBase8Iterator i3 = JediTempleBase8Iterator.wrapᴼᶠ(octals.iterator());
|
||||
int octalCount = gearᐧnoise().brickᐧtapeᐧlength();
|
||||
int octalCount = brickᐧtapeᐧgear().brickᐧtapeᐧlength();
|
||||
int octalTypeSize = octals.size() / octalCount;
|
||||
for (int i=0;i<octalTypeSize;i++) {
|
||||
result.add(gearᐧnoise().brickᐧtapeᐧsynthesize(i3));
|
||||
result.add(brickᐧtapeᐧgear().brickᐧtapeᐧsynthesize(i3));
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue