- Everything is encoded in Little-Endian without any padding or alignment.
- Strings have a fixed length but can be null-terminated if they are shorter.
- All integer numbers are always encoded in 8 bytes using two's complement representation.
- Boolean values are encoded in one byte, with
0x00
meaningfalse
and any other value meaningtrue
. - IOTA addresses are always transferred in their 81 character base-27 encoding without checksum information.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.badlogic.gdx.assets.loaders.FileHandleResolver; | |
import com.badlogic.gdx.files.FileHandle; | |
public class DualFileHandleResolver implements FileHandleResolver { | |
private FileHandleResolver baseResolver; | |
private String additionalAssetsPath; | |
public DualFileHandleResolver(FileHandleResolver baseResolver, String additionalAssetsPath) { | |
this.baseResolver = baseResolver; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright 2014 Chris Banes | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |