public int getSubnetwork(int nodeId) {
        byte[] bytes = new byte[1];
        da.getBytes(nodeId, bytes, bytes.length);

        return (int) bytes[0];
    }
public int getSubnetwork ( int nodeId ) { byte [ ] bytes = new byte [ 1 ] ; da . getBytes ( nodeId , bytes , bytes . length ) ; return ( int ) bytes [ 0 ] ; }
Returns the subnetwork ID for the specified nodeId or 0 if non is associated e.g. because the
subnetwork is too small.