Tabnine Logo
Base32Codec.decode
Code IndexAdd Tabnine to your IDE (free)

How to use
decode
method
in
com.amazonaws.util.Base32Codec

Best Java code snippets using com.amazonaws.util.Base32Codec.decode (Showing top 12 results out of 315)

origin: aws/aws-sdk-java

  /** 
   * Decodes the given base 32 encoded bytes.
   */
  public static byte[] decode(byte[] b32) { return b32 == null || b32.length == 0 ? b32 :  codec.decode(b32, b32.length); }
}
origin: aws/aws-sdk-java

/** 
 * Decodes the given base 32 encoded string,
 * skipping carriage returns, line feeds and spaces as needed.
 */
public static byte[] decode(String b32) {
  if (b32 == null)
    return null;
  if (b32.length() == 0)
    return new byte[0];
  byte[] buf = new byte[b32.length()];
  int len = CodecUtils.sanitize(b32, buf);
  return codec.decode(buf, len);
}

origin: com.amazonaws/aws-java-sdk-core

  /** 
   * Decodes the given base 32 encoded bytes.
   */
  public static byte[] decode(byte[] b32) { return b32 == null || b32.length == 0 ? b32 :  codec.decode(b32, b32.length); }
}
origin: aws-amplify/aws-sdk-android

  /**
   * Decodes the given base 32 encoded bytes.
   * @param b32 the base 32 encoded bytes.
   * @return the decoded result.
   */
  public static byte[] decode(byte[] b32) {
    return b32 == null || b32.length == 0 ? b32 : CODEC.decode(b32, b32.length);
  }
}
origin: com.amazonaws/aws-java-sdk-core

/** 
 * Decodes the given base 32 encoded string,
 * skipping carriage returns, line feeds and spaces as needed.
 */
public static byte[] decode(String b32) {
  if (b32 == null)
    return null;
  if (b32.length() == 0)
    return new byte[0];
  byte[] buf = new byte[b32.length()];
  int len = CodecUtils.sanitize(b32, buf);
  return codec.decode(buf, len);
}

origin: aws-amplify/aws-sdk-android

/**
 * Decodes the given base 32 encoded string, skipping carriage returns, line
 * feeds and spaces as needed. hchar: compared to Base32.decode(String) of
 * JakartaCommons-1.5, this routine is > 11x faster on my MacAir.
 * @param b32 the base 32 encoded string.
 * @return the decoded result.
 */
public static byte[] decode(String b32) {
  if (b32 == null) {
    return null;
  }
  if (b32.length() == 0) {
    return new byte[0];
  }
  byte[] buf = new byte[b32.length()];
  int len = CodecUtils.sanitize(b32, buf);
  return CODEC.decode(buf, len);
}
origin: Nextdoor/bender

  /** 
   * Decodes the given base 32 encoded bytes.
   */
  public static byte[] decode(byte[] b32) { return b32 == null || b32.length == 0 ? b32 :  codec.decode(b32, b32.length); }
}
origin: com.amazonaws/aws-android-sdk-core

  /**
   * Decodes the given base 32 encoded bytes.
   * @param b32 the base 32 encoded bytes.
   * @return the decoded result.
   */
  public static byte[] decode(byte[] b32) {
    return b32 == null || b32.length == 0 ? b32 : CODEC.decode(b32, b32.length);
  }
}
origin: com.gluonhq/aws-java-sdk-core

  /**
   * Decodes the given base 32 encoded bytes.
   * @param b32 the base 32 encoded bytes.
   * @return the decoded result.
   */
  public static byte[] decode(byte[] b32) {
    return b32 == null || b32.length == 0 ? b32 : CODEC.decode(b32, b32.length);
  }
}
origin: Nextdoor/bender

/** 
 * Decodes the given base 32 encoded string,
 * skipping carriage returns, line feeds and spaces as needed.
 */
public static byte[] decode(String b32) {
  if (b32 == null)
    return null;
  if (b32.length() == 0)
    return new byte[0];
  byte[] buf = new byte[b32.length()];
  int len = CodecUtils.sanitize(b32, buf);
  return codec.decode(buf, len);
}

origin: com.amazonaws/aws-android-sdk-core

/**
 * Decodes the given base 32 encoded string, skipping carriage returns, line
 * feeds and spaces as needed. hchar: compared to Base32.decode(String) of
 * JakartaCommons-1.5, this routine is > 11x faster on my MacAir.
 * @param b32 the base 32 encoded string.
 * @return the decoded result.
 */
public static byte[] decode(String b32) {
  if (b32 == null) {
    return null;
  }
  if (b32.length() == 0) {
    return new byte[0];
  }
  byte[] buf = new byte[b32.length()];
  int len = CodecUtils.sanitize(b32, buf);
  return CODEC.decode(buf, len);
}
origin: com.gluonhq/aws-java-sdk-core

/**
 * Decodes the given base 32 encoded string, skipping carriage returns, line
 * feeds and spaces as needed. hchar: compared to Base32.decode(String) of
 * JakartaCommons-1.5, this routine is > 11x faster on my MacAir.
 * @param b32 the base 32 encoded string.
 * @return the decoded result.
 */
public static byte[] decode(String b32) {
  if (b32 == null) {
    return null;
  }
  if (b32.length() == 0) {
    return new byte[0];
  }
  byte[] buf = new byte[b32.length()];
  int len = CodecUtils.sanitize(b32, buf);
  return CODEC.decode(buf, len);
}
com.amazonaws.utilBase32Codecdecode

Popular methods of Base32Codec

  • alphabets
  • encode

Popular in Java

  • Finding current android device location
  • compareTo (BigDecimal)
  • getApplicationContext (Context)
  • getSystemService (Context)
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • Point (java.awt)
    A point representing a location in (x,y) coordinate space, specified in integer precision.
  • URLConnection (java.net)
    A connection to a URL for reading or writing. For HTTP connections, see HttpURLConnection for docume
  • Stack (java.util)
    Stack is a Last-In/First-Out(LIFO) data structure which represents a stack of objects. It enables u
  • UUID (java.util)
    UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • Top 12 Jupyter Notebook extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now