Skip to content

Instantly share code, notes, and snippets.


Aurélien acatinon

View GitHub Profile
Wollac /
Created Apr 6, 2018
Documentation of the APDU Ledger Nano S API


  • 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 meaning false and any other value meaning true.
  • IOTA addresses are always transferred in their 81 character base-27 encoding without checksum information.

Set the active IOTA seed

* 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
* Unless required by applicable law or agreed to in writing, software
acatinon /
Last active Aug 29, 2015
A FileHandleResolver implementation witch tests if requested file exists in a path starting with an additional folder. This can be useful when using android flavors.
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;