Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for toBinary (0.2 sec)

  1. src/test/java/org/codelibs/core/convert/BinaryConversionUtilTest.java

         * {@link org.codelibs.core.convert.BinaryConversionUtil#toBinary(java.lang.Object)}
         * .
         */
        @Test
        public void testToBinary() {
            assertThat(BinaryConversionUtil.toBinary(null), nullValue());
            final byte[] b = { 0x00, 0x01 };
            assertThat(BinaryConversionUtil.toBinary(b), is(b));
            assertThat(BinaryConversionUtil.toBinary("hoge"), is("hoge".getBytes()));
        }
    
        /**
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/convert/BinaryConversionUtil.java

    public abstract class BinaryConversionUtil {
    
        /**
         * {@literal byte}の配列に変換します。
         *
         * @param o
         *            変換元のオブジェクト
         * @return {@literal byte}の配列
         */
        public static byte[] toBinary(final Object o) {
            if (o instanceof byte[]) {
                return (byte[]) o;
            } else if (o == null) {
                return null;
            } else {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  3. common/scripts/gobuild.sh

        set -x
    fi
    
    SCRIPTPATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
    
    OUT=${1:?"output path"}
    shift
    
    set -e
    
    export BUILD_GOOS=${GOOS:-linux}
    export BUILD_GOARCH=${GOARCH:-amd64}
    GOBINARY=${GOBINARY:-go}
    GOPKG="$GOPATH/pkg"
    BUILDINFO=${BUILDINFO:-""}
    STATIC=${STATIC:-1}
    LDFLAGS=${LDFLAGS:--extldflags -static}
    GOBUILDFLAGS=${GOBUILDFLAGS:-""}
    Shell Script
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Oct 21 14:08:46 GMT 2022
    - 2.4K bytes
    - Viewed (0)
  4. api/go1.txt

    pkg unicode, var Hex_Digit *RangeTable
    pkg unicode, var Hiragana *RangeTable
    pkg unicode, var Hyphen *RangeTable
    pkg unicode, var IDS_Binary_Operator *RangeTable
    pkg unicode, var IDS_Trinary_Operator *RangeTable
    pkg unicode, var Ideographic *RangeTable
    pkg unicode, var Imperial_Aramaic *RangeTable
    pkg unicode, var Inherited *RangeTable
    pkg unicode, var Inscriptional_Pahlavi *RangeTable
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Viewed (1)
Back to top