Java Unsigned Number Create unsigned(byte b)

Here you can find the source of unsigned(byte b)

Description

unsigned

License

Open Source License

Declaration

public static short unsigned(byte b) 

Method Source Code

//package com.java2s;

public class Main {
    public static short unsigned(byte b) {
        return (short) (b < 0 ? b & 0xFF : b);
    }// w w  w. j a  v a 2s  .  c o m
}

Related

  1. unsign(byte b)
  2. unsign(byte by)
  3. unsign(byte i)
  4. unsign(byte[] b)
  5. unsign(final byte b)
  6. unsigned(byte data)
  7. unsigned(byte value)
  8. unsigned(int num)
  9. unsigned(int val)