clear off even more codefactor issues
This commit is contained in:
parent
59e12c0655
commit
3ca20743a3
2 changed files with 1 additions and 2 deletions
|
@ -1,4 +1,3 @@
|
||||||
import { Console } from "../console";
|
|
||||||
import { FunkyArray } from "../funkyArray";
|
import { FunkyArray } from "../funkyArray";
|
||||||
import { NibbleArray } from "../nibbleArray";
|
import { NibbleArray } from "../nibbleArray";
|
||||||
import { Block } from "./blocks/Block";
|
import { Block } from "./blocks/Block";
|
||||||
|
|
|
@ -44,7 +44,7 @@ export class MetadataWriter {
|
||||||
|
|
||||||
public writeBuffer() {
|
public writeBuffer() {
|
||||||
const writer = createWriter(Endian.BE, this.calculateBufferSize());
|
const writer = createWriter(Endian.BE, this.calculateBufferSize());
|
||||||
for (let key of this.entries.keys) {
|
for (const key of this.entries.keys) {
|
||||||
const entry = this.entries.get(key);
|
const entry = this.entries.get(key);
|
||||||
if (entry instanceof MetadataEntry) {
|
if (entry instanceof MetadataEntry) {
|
||||||
writer.writeByte((entry.type << 5 | key & 0x1f) & 0xff);
|
writer.writeByte((entry.type << 5 | key & 0x1f) & 0xff);
|
||||||
|
|
Loading…
Reference in a new issue