Java Mine
ContentsIndexHome
PreviousUpNext
BitConverter.getTwoBytes Method
Syntax
Java
public static byte getTwoBytes(int x);

public static byte[] getBytes(int x) { return new byte[] { (byte)(x >>> 24), (byte)(x >>> 16), (byte)(x >>> 8), (byte)x }; }

Copyright (c) 2022. All rights reserved.
What do you think about this topic? Send feedback!